Category talk:Wren-sql: Difference between revisions
Content added Content deleted
m (→Source code (C): Should be plural.) |
m (Fixed syntax highlighting.) |
||
Line 14: | Line 14: | ||
==Source code (Wren)== |
==Source code (Wren)== |
||
< |
<syntaxhighlight lang=ecmascript>/* Module "sql.wren" */ |
||
/* |
/* |
||
Line 212: | Line 212: | ||
foreign remaining |
foreign remaining |
||
foreign pageCount |
foreign pageCount |
||
}</ |
}</syntaxhighlight> |
||
==Source code (C)== |
==Source code (C)== |
||
< |
<syntaxhighlight lang=c>/* gcc -O3 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_THREADSAFE=0 wren-sql.c -o wren-sql -lsqlite3 -lwren -lm */ |
||
#include <stdio.h> |
#include <stdio.h> |
||
Line 919: | Line 919: | ||
sqlite3_shutdown(); |
sqlite3_shutdown(); |
||
return 0; |
return 0; |
||
}</ |
}</syntaxhighlight> |