Changeset: 52aa98a89b3d for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=52aa98a89b3d
Modified Files:
monetdb5/mal/mal_linker.c
monetdb5/mal/mal_linker.h
Branch: default
Log Message:
Don't use bool.
diffs (23 lines):
diff --git a/monetdb5/mal/mal_linker.c b/monetdb5/mal/mal_linker.c
--- a/monetdb5/mal/mal_linker.c
+++ b/monetdb5/mal/mal_linker.c
@@ -409,7 +409,7 @@ MSP_locate_sqlscript(const char *filenam
}
-bool
+int
malLibraryEnabled(str name) {
if (strcmp(name, "pyapi") == 0) {
return GDKgetenv_istrue("embedded_py") ||
GDKgetenv_isyes("embedded_py");
diff --git a/monetdb5/mal/mal_linker.h b/monetdb5/mal/mal_linker.h
--- a/monetdb5/mal/mal_linker.h
+++ b/monetdb5/mal/mal_linker.h
@@ -27,6 +27,6 @@ mal_export MALfcn getAddress(stream *out
mal_export char *MSP_locate_sqlscript(const char *mod_name, bit recurse);
mal_export str loadLibrary(str modulename, int flag);
mal_export char *locate_file(const char *basename, const char *ext, bit
recurse);
-mal_export bool malLibraryEnabled(str name);
+mal_export int malLibraryEnabled(str name);
mal_export char* malLibraryHowToEnable(str name);
#endif /* _MAL_LINKER_H */
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list