File: genbuiltin

package info (click to toggle)
jitterdebugger 0.3.1%2Bgit20200117.b90ff3a-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 180 kB
  • sloc: ansic: 1,581; python: 77; sh: 44; makefile: 42
file content (21 lines) | stat: -rwxr-xr-x 288 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
# SPDX-License-Identifier: MIT

echo "#include \"jitterdebugger.h\""
echo

for i in $*
do
	echo "extern struct jd_plugin_desc __jd_builtin_$i;"
done

echo
echo "struct jd_plugin_desc *__jd_builtin[] = {"

for i in $*
do
	echo "  &__jd_builtin_$i,"
done

echo "  NULL"
echo "};"