summaryrefslogtreecommitdiff
path: root/src/3rdparty/squirrel/include/sqstdblob.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/squirrel/include/sqstdblob.h')
-rw-r--r--src/3rdparty/squirrel/include/sqstdblob.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/3rdparty/squirrel/include/sqstdblob.h b/src/3rdparty/squirrel/include/sqstdblob.h
new file mode 100644
index 000000000..1d9a4cdc3
--- /dev/null
+++ b/src/3rdparty/squirrel/include/sqstdblob.h
@@ -0,0 +1,20 @@
+/* see copyright notice in squirrel.h */
+#ifndef _SQSTDBLOB_H_
+#define _SQSTDBLOB_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+SQUIRREL_API SQUserPointer sqstd_createblob(HSQUIRRELVM v, SQInteger size);
+SQUIRREL_API SQRESULT sqstd_getblob(HSQUIRRELVM v,SQInteger idx,SQUserPointer *ptr);
+SQUIRREL_API SQInteger sqstd_getblobsize(HSQUIRRELVM v,SQInteger idx);
+
+SQUIRREL_API SQRESULT sqstd_register_bloblib(HSQUIRRELVM v);
+
+#ifdef __cplusplus
+} /*extern "C"*/
+#endif
+
+#endif /*_SQSTDBLOB_H_*/
+