mirror of
https://github.com/fluencelabs/sqlite
synced 2025-04-25 01:12:15 +00:00
add support of multi-module projects
This commit is contained in:
parent
7d54c13e23
commit
99df17e96c
@ -15,6 +15,14 @@ int init() {
|
|||||||
|
|
||||||
int g_isInited = 0;
|
int g_isInited = 0;
|
||||||
|
|
||||||
|
void store(char *ptr, unsigned char byte) {
|
||||||
|
*ptr = byte;
|
||||||
|
}
|
||||||
|
|
||||||
|
unsigned char load(const unsigned char *ptr) {
|
||||||
|
return *ptr;
|
||||||
|
}
|
||||||
|
|
||||||
void* allocate(size_t size) {
|
void* allocate(size_t size) {
|
||||||
return malloc(size + 1);
|
return malloc(size + 1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user