theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3Lite_Internal_Memory_PY_API

Sq3Lite PACKAGE - functions related to index 'Internal' and doc 'Memory' … More...

+ Collaboration diagram for Sq3Lite_Internal_Memory_PY_API:

Functions

static OT_ProcRet pysq3lite_Sq3Lite_HardHeapLimit64 (OtClass_ARGS)
  Python: [static] int64 HardHeapLimit64(N:int64) C-API
Impose A Limit On Heap Size …
 
static OT_ProcRet pysq3lite_Sq3Lite_ReleaseMemory (OtClass_ARGS)
  Python: [static] ReleaseMemory(N:int32) C-API
Attempt To Free Heap Memory …
 
static OT_ProcRet pysq3lite_Sq3Lite_SoftHeapLimit64 (OtClass_ARGS)
  Python: [static] int64 SoftHeapLimit64(N:int64) C-API
Impose A Limit On Heap Size …
 

Detailed Description

Sq3Lite PACKAGE - functions related to index 'Internal' and doc 'Memory' …

Attempt To Free Heap Memory:

Impose A Limit On Heap Size:

Reference code from sqlite3:

// Attempt To Free Heap Memory:
// Impose A Limit On Heap Size:
sqlite_int64 sqlite3_int64
#define SQLITE_API
SQLITE_API int sqlite3_release_memory(int)
SQLITE_API sqlite3_int64 sqlite3_hard_heap_limit64(sqlite3_int64 N)
SQLITE_API sqlite3_int64 sqlite3_soft_heap_limit64(sqlite3_int64 N)

Function Documentation

◆ pysq3lite_Sq3Lite_HardHeapLimit64()

static OT_ProcRet pysq3lite_Sq3Lite_HardHeapLimit64 ( OtClass_ARGS )
static

Python: [static] int64 HardHeapLimit64(N:int64) C-API
Impose A Limit On Heap Size …

Definition at line 2223 of file LibSq3Lite_py.c.

2223 {
2226 MK_I64 N = 0;
2230 goto end;
2231 error:
2233 end:
2235}
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_NI8(val)
#define OT_retObj_SET_Error
#define OT_retObj_SET_I64(nat)
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define HardHeapLimit64_doc
#define OT_SETUP_hdl_static
signed long long MK_I64
static MK_I64 Sq3HardHeapLimit64(MK_I64 N)
Impose A Limit On Heap Size …

◆ pysq3lite_Sq3Lite_ReleaseMemory()

static OT_ProcRet pysq3lite_Sq3Lite_ReleaseMemory ( OtClass_ARGS )
static

Python: [static] ReleaseMemory(N:int32) C-API
Attempt To Free Heap Memory …

Definition at line 2238 of file LibSq3Lite_py.c.

2238 {
2241 MK_I32 N = 0;
2246 goto end;
2247 error:
2249 end:
2251}
#define OT_CHECK_NI4(val)
#define OT_retObj_SET_None
#define MkErrorC_Check(mng, PROC)
#define ReleaseMemory_doc
signed int MK_I32
static enum MkErrorE Sq3ReleaseMemory(MK_I32 N)
Attempt To Free Heap Memory …

◆ pysq3lite_Sq3Lite_SoftHeapLimit64()

static OT_ProcRet pysq3lite_Sq3Lite_SoftHeapLimit64 ( OtClass_ARGS )
static

Python: [static] int64 SoftHeapLimit64(N:int64) C-API
Impose A Limit On Heap Size …

Definition at line 2254 of file LibSq3Lite_py.c.

2254 {
2257 MK_I64 N = 0;
2261 goto end;
2262 error:
2264 end:
2266}
#define SoftHeapLimit64_doc
static MK_I64 Sq3SoftHeapLimit64(MK_I64 N)
Impose A Limit On Heap Size …