ソースを参照

Add task to create makeshift JavaScriptCore "docs"

Actually just grepping for exported names, but it works well enough for
a start.
Lucas Stadler 9 年 前
コミット
82556c6364
共有1 個のファイルを変更した3 個の追加0 個の削除を含む
  1. 3 0
      c/ton/Makefile

+ 3 - 0
c/ton/Makefile

@ -2,3 +2,6 @@ JSC_CFLAGS = $(shell pkg-config javascriptcoregtk-4.0 --cflags --libs)
2 2
3 3
ton: *.c
4 4
	clang $(JSC_CFLAGS) main.c -o $@
5
6
jsc-funcs:
7
	grep -Rh JS_EXPORT /usr/include/webkitgtk-4.0/JavaScriptCore | sed 's/^JS_EXPORT //' | grep -v '^#' > $@