summaryrefslogtreecommitdiffhomepage
path: root/src/ext_depends/d2sqlite3/run-dstep.sh
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2022-12-19 21:27:17 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2022-12-31 21:55:43 -0500
commitda6f5d079e01906fb5dc558390659557a869df8f (patch)
tree35b99248cf1ba78b52474bea960f92984ff721c7 /src/ext_depends/d2sqlite3/run-dstep.sh
parentsort how you want this to be (diff)
nix flake, things nix
Diffstat (limited to 'src/ext_depends/d2sqlite3/run-dstep.sh')
-rwxr-xr-xsrc/ext_depends/d2sqlite3/run-dstep.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ext_depends/d2sqlite3/run-dstep.sh b/src/ext_depends/d2sqlite3/run-dstep.sh
new file mode 100755
index 0000000..ad1c82f
--- /dev/null
+++ b/src/ext_depends/d2sqlite3/run-dstep.sh
@@ -0,0 +1,4 @@
+dstep --package "d2sqlite3" --skip SQLITE_STDCALL --global-attribute={nothrow,@nogc} --space-after-function-name=false -o source/d2sqlite3/sqlite3.d c/sqlite3.h
+sed -i '' '1i\
+/++ Auto-generated C API bindings. +/\
+' source/d2sqlite3/sqlite3.d