theSq3Lite 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard - theLib - theATL
c - tcl - atl - cs - py - rb - jv - cc
Loading...
Searching...
No Matches
Sq3ValueC_TOR_C_API

Sq3ValueC - various functions to create, initialize and destroy … More...

+ Collaboration diagram for Sq3ValueC_TOR_C_API:

Functions

static SQ3_VAL Sq3ValueDup (SQ3_VALN sq3val)
 Copy And Free SQL Values …
 
static void Sq3ValueFree (SQ3_VAL sq3val)
 Copy And Free SQL Values …
 

Sq3ValueC - Sq3ValueC_TOR_C_API - function

SQ3_VAL Sq3ValueDupP (SQ3_VALN sq3val)
 Non-inline replacement for Sq3ValueDup
 
void Sq3ValueFreeP (SQ3_VAL sq3val)
 Non-inline replacement for Sq3ValueFree
 

Detailed Description

Sq3ValueC - various functions to create, initialize and destroy …

Function Documentation

◆ Sq3ValueDup()

static SQ3_VAL Sq3ValueDup ( SQ3_VALN sq3val)
inlinestatic

Copy And Free SQL Values …

The Sq3ValueDup(V) interface makes a copy of the Sq3ValueC object D and returns a pointer to that copy. The Sq3ValueC returned is a protected Sq3ValueC object even if the input is not. The Sq3ValueDup(V) interface returns NULL if V is NULL or if a memory allocation fails. If V is a pointer value, then the result of Sq3ValueDup(V) is a NULL value.

The Sq3ValueFree(V) interface frees an Sq3ValueC object previously obtained from Sq3ValueDup (). If V is a NULL pointer then Sq3ValueFree(V) is a harmless no-op.

Reference code from sqlite3:

SQLITE_API sqlite3_value * sqlite3_value_dup(const sqlite3_value *)
#define SQLITE_API
SQLITE_API void sqlite3_value_free(sqlite3_value *)
struct sqlite3_value sqlite3_value

Definition at line 84 of file Sq3ValueC_sq3.h.

84 {
85 SQ3_INSTANCE_HDL(sq3val);
87 }
#define SQ3_INSTANCE_HDL(x)
static SQ3_VAL Sq3ValueC_ObjCreate(sqlite3_value *hdl)
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
sqlite3_value * nat
internal - link between Sq3ValueS and native library
+ Here is the caller graph for this function:

◆ Sq3ValueDupP()

SQ3_VAL Sq3ValueDupP ( SQ3_VALN sq3val)

Non-inline replacement for Sq3ValueDup

◆ Sq3ValueFree()

static void Sq3ValueFree ( SQ3_VAL sq3val)
inlinestatic

Copy And Free SQL Values …

read more at 'Sq3ValueDup'

Definition at line 92 of file Sq3ValueC_sq3.h.

92 {
93 MkRtSetup_X(sq3val);
95 }
#define MkOBJ(x)
void MkObjectDispose_RT(MK_RT mkrt, MK_OBJ obj)
#define MK_RT_CALL
#define MkRtSetup_X(x)

◆ Sq3ValueFreeP()

void Sq3ValueFreeP ( SQ3_VAL sq3val)

Non-inline replacement for Sq3ValueFree