vitasdk
Documentation of the vitasdk
sqlite.h
Go to the documentation of this file.
1
7
#ifndef _PSP2_SQLITE_H_
8
#define _PSP2_SQLITE_H_
9
10
#include <
vitasdk/build_utils.h
>
11
12
#ifdef __cplusplus
13
extern
"C"
{
14
#endif
15
16
typedef
struct
{
17
void
*(*xMalloc)(int);
18
void
*(*xRealloc)(
void
*,int);
19
void (*xFree)(
void
*);
20
}
SceSqliteMallocMethods
;
21
VITASDK_BUILD_ASSERT_EQ
(0xC,
SceSqliteMallocMethods
);
22
30
int
sceSqliteConfigMallocMethods
(
SceSqliteMallocMethods
* methods);
31
32
#ifdef __cplusplus
33
}
34
#endif
35
36
#endif
/* _PSP2_SQLITE_H_ */
37
build_utils.h
VITASDK_BUILD_ASSERT_EQ
VITASDK_BUILD_ASSERT_EQ(0xC, SceSqliteMallocMethods)
sceSqliteConfigMallocMethods
int sceSqliteConfigMallocMethods(SceSqliteMallocMethods *methods)
Wrapper for sqlite3_config(SQLITE_CONFIG_MALLOC)
SceSqliteMallocMethods
Definition:
sqlite.h:16
include
psp2
sqlite.h
Vita SDK