From: nishi Date: Sat, 27 Apr 2024 02:52:27 +0000 (+0000) Subject: binmodule-loaded X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=e58d3816678df5bd8843ae3965977897731ac7ac;p=serenade.git binmodule-loaded git-svn-id: file:///raid/svn-main/nishi-serenade/trunk@73 0f02c867-ac3d-714e-8a88-971ba1f6efcf --- diff --git a/Serenade/binmodule.c b/Serenade/binmodule.c index 49423d9..9e0413c 100644 --- a/Serenade/binmodule.c +++ b/Serenade/binmodule.c @@ -30,5 +30,17 @@ #include "binmodule.h" +#include "interpreter.h" + +#ifdef __MINGW32__ +#include +#else +#include +#endif + void binmodule_init(struct sn_interpreter* sn){ + struct sn_generic* gen = malloc(sizeof(struct sn_generic)); + gen->type = SN_TYPE_DOUBLE; + gen->number = 1; + sn_set_variable(sn, "binmodule-loaded", gen); }