@@ -100,7 +100,7 @@ function add_non_generated_content {
100
100
file=src/$1.h
101
101
[ ! -f $file ] && return
102
102
103
-
echo "// Non-generated macros" >> $2
103
+
echo "/* Non-generated macros */" >> $2
104
104
echo >> $2
105
105
106
106
cat $file | trim_lines >> $2
@@ -131,7 +131,7 @@ function add_action_macros {
131
131
132
132
# base macros
133
133
134
-
echo "// base action macro macros" >> $out
134
+
echo "/* base action macro macros */" >> $out
135
135
echo >> $out
136
136
137
137
cat $list_file | trim_lines | sed -r \
@@ -147,7 +147,7 @@ function add_action_macros {
147
147
148
148
# generated macros
149
149
150
-
echo "// generated action macros" >> $out
150
+
echo "/* generated action macros */" >> $out
151
151
echo >> $out
152
152
153
153
cat -s $list_file | while read list_line; do
@@ -246,7 +246,7 @@ function generate_non_optional_h_includes {
246
246
247
247
# TODO : split into auto-generated and non-auto-generated ones
248
248
249
-
echo "// non-optional includes" >> $1
249
+
echo "/* non-optional includes */" >> $1
250
250
echo >> $1
251
251
252
252
for mod in `cat $headers_file | sort`; do
@@ -261,7 +261,7 @@ function generate_non_optional_h_includes {
261
261
262
262
function generate_include_all_includes {
263
263
264
-
echo "// include all optional modules" >> $1
264
+
echo "/* include all optional modules */" >> $1
265
265
echo >> $1
266
266
echo "#ifdef NDK_ALL" >> $1
267
267
echo >> $1
@@ -284,7 +284,7 @@ function generate_include_all_includes {
284
284
285
285
function generate_dependent_includes {
286
286
287
-
echo "// module dependencies" >> $1
287
+
echo "/* module dependencies */" >> $1
288
288
echo >> $1
289
289
290
290
cat $module_dependencies_file | while read line; do
@@ -296,7 +296,7 @@ function generate_dependent_includes {
296
296
def="NDK_`strtoupper $mod`"
297
297
298
298
if [ $first = 1 ] ; then
299
-
299
+
300
300
echo "#ifdef $def" >> $1
301
301
first=0
302
302
else
@@ -317,7 +317,7 @@ function generate_dependent_includes {
317
317
318
318
function generate_optional_h_includes {
319
319
320
-
echo "// optional includes" >> $1
320
+
echo "/* optional includes */" >> $1
321
321
echo >> $1
322
322
323
323
for mod in $modules; do
@@ -343,14 +343,14 @@ function generate_conf_merge_macros_file {
343
343
344
344
add_notice $out
345
345
346
-
echo "// conf-merge-value macros" >> $out
346
+
echo "/* conf-merge-value macros */" >> $out
347
347
echo >> $out
348
348
349
349
cat $srcs_dir/$file | trim_lines >> $out
350
350
echo >> $out
351
351
echo >> $out
352
352
353
-
echo "// conf-merge-prop macros" >> $out
353
+
echo "/* conf-merge-prop macros */" >> $out
354
354
echo >> $out
355
355
356
356
echo "#define ndk_conf_merge_prop(prop,default)\\" >> $out
@@ -390,7 +390,7 @@ function generate_conf_cmd_basic_file {
390
390
391
391
# add ndk bitmasks
392
392
393
-
echo "// conf cmd core values/bitmasks" >> $out
393
+
echo "/* conf cmd core values/bitmasks */" >> $out
394
394
echo >> $out
395
395
396
396
@@ -406,15 +406,15 @@ function generate_conf_cmd_basic_file {
406
406
407
407
# add additional bitmasks stored in file
408
408
409
-
echo "// conf cmd bitmasks" >> $out
409
+
echo "/* conf cmd bitmasks */" >> $out
410
410
echo >> $out
411
411
412
412
cat $srcs_dir/$conf_cmd_basic_filename | trim_lines >> $out
413
413
414
414
echo >> $out
415
415
echo >> $out
416
416
417
-
echo "// conf cmd basic macros" >> $out
417
+
echo "/* conf cmd basic macros */" >> $out
418
418
echo >> $out
419
419
420
420
@@ -455,7 +455,7 @@ function generate_conf_cmd_extra_file {
455
455
456
456
add_notice $out
457
457
458
-
echo "// conf command macros" >> $out
458
+
echo "/* conf command macros */" >> $out
459
459
echo >> $out
460
460
461
461
@@ -490,7 +490,7 @@ function generate_conf_cmd_extra_file {
490
490
491
491
function generate_auto_generated_h_includes {
492
492
493
-
echo "// auto-generated headers" >> $1
493
+
echo "/* auto-generated headers */" >> $1
494
494
echo >> $1
495
495
496
496
for name in `cat $header_file | sort` ; do
@@ -511,7 +511,7 @@ function generate_auto_generated_h_includes {
511
511
512
512
function generate_optional_c_includes {
513
513
514
-
echo "// optional includes" >> $1
514
+
echo "/* optional includes */" >> $1
515
515
echo >> $1
516
516
517
517
modules=`cat $optional_modules_file | sed 's/*//g' | sort`
@@ -530,7 +530,7 @@ function generate_optional_c_includes {
530
530
531
531
function generate_commands {
532
532
533
-
echo "// module commands" >> $1
533
+
echo "/* module commands */" >> $1
534
534
echo >> $1
535
535
echo "static ngx_command_t ndk_http_commands[] = {" >> $1
536
536
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4