Changeset: 6edce6b182e7 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=6edce6b182e7
Modified Files:
monetdb5/modules/atoms/blob.c
Branch: mbedded
Log Message:
auto load blob code
diffs (25 lines):
diff --git a/monetdb5/modules/atoms/blob.c b/monetdb5/modules/atoms/blob.c
--- a/monetdb5/modules/atoms/blob.c
+++ b/monetdb5/modules/atoms/blob.c
@@ -378,6 +378,7 @@ mel_atom blob_init_atoms[] = {
.length=(fptr)&BLOBlength,
.heap=(fptr)&BLOBheap,
},
+ { .name=NULL }
};
mel_func blob_init_funcs[] = {
{ .command=true, .mod="blob", .fcn="blob", .imp=(fptr)&BLOBblob_blob,
.unsafe=false,
@@ -434,4 +435,13 @@ mel_func blob_init_funcs[] = {
{ .type="blob", .isbat=false, .vargs=false },
}
},
+ { .imp=NULL }
};
+
+#include "mal_import.h"
+#ifdef _MSC_VER
+#undef read
+#pragma section(".CRT$XCU",read)
+#endif
+LIB_STARTUP_FUNC(init_blob_mal)
+{ mal_module("blob", blob_init_atoms, blob_init_funcs); }
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list