theConfig 10.0
Loading...
Searching...
No Matches
LcConfigC_TOR_RB_API

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

+ Collaboration diagram for LcConfigC_TOR_RB_API:

Functions

static OT_ProcRet rblcconfig_LcConfigC_Create (OtClass_ARGS)
  Ruby: (constructor,static) LcConfigC LcConfigC.Create() C-API
create a LcConfigC instance …
 
static OT_ProcRet rblcconfig_LcConfigC_new (CONSTR_ARGS)
  Ruby: (constructor,static) LcConfigC LcConfigC.new() C-API
create a LcConfigC instance …
 

Detailed Description

LcConfigC - various functions to create, initialize and destroy …

Function Documentation

◆ rblcconfig_LcConfigC_Create()

static OT_ProcRet rblcconfig_LcConfigC_Create ( OtClass_ARGS )
static

Ruby: (constructor,static) LcConfigC LcConfigC.Create() C-API
create a LcConfigC instance …

Definition at line 675 of file LcConfigC_rb.c.

675 {
679 LC_CFG retVal = LcConfigCreate (NULL, NULL);
680 if (retVal == NULL) {
681 OT_ERROR_CONSTRUCTOR(LcConfigC);
682 }
683 OT_CONSTRUCTOR_POST(retVal)
684 OT_retObj_SET_CFG(retVal);
685 end: MK_UNUSED /* LONG JUMP on error */
687}
#define OT_SETUP_hdl_static_constr
#define Create_doc
#define OT_retObj_SET_CFG(nat)
#define OT_SETUP_NOARG(d)
#define OT_CONSTRUCTOR_POST(x)
#define OT_retObj_RETURN
#define OT_ERROR_CONSTRUCTOR(clazz)
#define OT_CHECK_NOARGS
static LC_CFG LcConfigCreate(MK_TYP type, config_t *nat)
create a LcConfigC instance …
#define MK_UNUSED
Struct to represent the data from the LcConfigC …

◆ rblcconfig_LcConfigC_new()

static OT_ProcRet rblcconfig_LcConfigC_new ( CONSTR_ARGS )
static

Ruby: (constructor,static) LcConfigC LcConfigC.new() C-API
create a LcConfigC instance …

Definition at line 690 of file LcConfigC_rb.c.

690 {
693 LC_CFG retVal = LcConfigCreate (NULL, NULL);
694 if (retVal == NULL) {
695 OT_ERROR_CONSTRUCTOR(LcConfigC);
696 }
697 OT_CONSTRUCTOR_POST(retVal)
698 OT_retObj_CONSTR(retVal);
699 end: MK_UNUSED /* LONG JUMP on error */
701}
#define OT_SETUP_hdl_constr
#define new_doc
#define OT_retObj_CONSTR(mng)
#define OT_SETUP_CONSTRUCTOR_ARGS(min, max, d)