theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3Lite_Internal_Memory_TCL_API

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

+ Collaboration diagram for Sq3Lite_Internal_Memory_TCL_API:

Functions

static OT_ProcRet tclsq3lite_Sq3Lite_HardHeapLimit64 (OtClass_ARGS)
  Tcl: (static) int64 [Sq3Lite HardHeapLimit64 N:int64] C-API
Impose A Limit On Heap Size …
 
static OT_ProcRet tclsq3lite_Sq3Lite_ReleaseMemory (OtClass_ARGS)
  Tcl: (static) Sq3Lite ReleaseMemory N:int32 C-API
Attempt To Free Heap Memory …
 
static OT_ProcRet tclsq3lite_Sq3Lite_SoftHeapLimit64 (OtClass_ARGS)
  Tcl: (static) int64 [Sq3Lite 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

◆ tclsq3lite_Sq3Lite_HardHeapLimit64()

static OT_ProcRet tclsq3lite_Sq3Lite_HardHeapLimit64 ( OtClass_ARGS )
static

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

Definition at line 4897 of file LibSq3Lite_tcl.c.

4897 {
4900 MK_I64 N = 0;
4904 goto end;
4905 error:
4907 end:
4909}
#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 …

◆ tclsq3lite_Sq3Lite_ReleaseMemory()

static OT_ProcRet tclsq3lite_Sq3Lite_ReleaseMemory ( OtClass_ARGS )
static

Tcl: (static) Sq3Lite ReleaseMemory N:int32 C-API
Attempt To Free Heap Memory …

Definition at line 4912 of file LibSq3Lite_tcl.c.

4912 {
4915 MK_I32 N = 0;
4920 goto end;
4921 error:
4923 end:
4925}
#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 …

◆ tclsq3lite_Sq3Lite_SoftHeapLimit64()

static OT_ProcRet tclsq3lite_Sq3Lite_SoftHeapLimit64 ( OtClass_ARGS )
static

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

Definition at line 4928 of file LibSq3Lite_tcl.c.

4928 {
4931 MK_I64 N = 0;
4935 goto end;
4936 error:
4938 end:
4940}
#define SoftHeapLimit64_doc
static MK_I64 Sq3SoftHeapLimit64(MK_I64 N)
Impose A Limit On Heap Size …