wip: string/date/time

This commit is contained in:
2022-09-15 09:39:06 +08:00
parent 41f51bacc5
commit 32a41545de
8 changed files with 45 additions and 16 deletions
+2 -1
View File
@@ -71,7 +71,8 @@ typedef void (*deallocator_t) (void*);
extern void* Aalloc(unsigned long long sz);
extern void Afree(void * mem);
extern void register_memory(void* ptr, deallocator_t deallocator);
extern void init_session(Context* cxt);
__AQEXPORT__(void) init_session(Context* cxt);
#define __AQ_NO_SESSION__ __AQEXPORT__(void) init_session(Context*) {}
#endif
+4
View File
@@ -0,0 +1,4 @@
example:
g++-9 -shared -fPIC example.cpp aquery_mem.cpp -fno-semantic-interposition -Ofast -march=native -flto --std=c++1z -o ../test.so
all: example