Skip to content

Commit e5d6c94

Browse files
committed
Add command argument example
1 parent ffc8d17 commit e5d6c94

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

examples/blingedit_test.c

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/*
2+
Compile example:
3+
python compiler_main.py examples/blingedit_test.c
4+
--as-zip
5+
--world-dir out
6+
--namespace blingedit_test
7+
--setup-on-load
8+
--extern plugin_can_run
9+
--extern disp_plugins
10+
--extern box_xmin
11+
--extern box_ymin
12+
--extern box_zmin
13+
--extern box_xmax
14+
--extern box_ymax
15+
--extern box_zmax
16+
17+
Note: need to specify extern for all blingedit entity_locals used (or just specify all of them from blingedit.h).
18+
*/
119
#include <stdio.h>
220

321
#define PLUGIN_NAME Test Plugin

0 commit comments

Comments
 (0)