vitasdk
Documentation of the vitasdk

Detailed Description

Exports for User.


Using this library in your project

Include the header file in your project:


Link the library to the executable:

SceSqlite_stub


Load the required module:

int sceSysmoduleLoadModule(SceSysmoduleModuleId id)
Load a module.
@ SCE_SYSMODULE_SQLITE
Sqlite module.
Definition: sysmodule.h:58



Functions

 VITASDK_BUILD_ASSERT_EQ (0xC, SceSqliteMallocMethods)
 
int sceSqliteConfigMallocMethods (SceSqliteMallocMethods *methods)
 Wrapper for sqlite3_config(SQLITE_CONFIG_MALLOC) More...
 

Data Structure Documentation

◆ SceSqliteMallocMethods

struct SceSqliteMallocMethods

Data Fields

void *(* xMalloc )(int)
 
void *(* xRealloc )(void *, int)
 
void(* xFree )(void *)
 

Function Documentation

◆ VITASDK_BUILD_ASSERT_EQ()

VITASDK_BUILD_ASSERT_EQ ( 0xC  ,
SceSqliteMallocMethods   
)

◆ sceSqliteConfigMallocMethods()

int sceSqliteConfigMallocMethods ( SceSqliteMallocMethods methods)

Wrapper for sqlite3_config(SQLITE_CONFIG_MALLOC)

Parameters
[in]methods- A proper set of memory allocation methods
Returns
0 on success, < 0 on error.