wip: string/date/time
This commit is contained in:
+2
-1
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user