CpgInstructionCustomFunction

CpgInstructionCustomFunction

Synopsis

#define             CPG_INSTRUCTION_CUSTOM_FUNCTION_CONST(obj)
struct              CpgInstructionCustomFunction;
struct              CpgInstructionCustomFunctionClass;
CpgInstruction *    cpg_instruction_custom_function_new (CpgFunction *function,
                                                         gint arguments);
void                cpg_instruction_custom_function_set_function
                                                        (CpgInstructionCustomFunction *function,
                                                         CpgFunction *func);
CpgFunction *       cpg_instruction_custom_function_get_function
                                                        (CpgInstructionCustomFunction *function);
void                cpg_instruction_custom_function_set_arguments
                                                        (CpgInstructionCustomFunction *function,
                                                         gint arguments);
gint                cpg_instruction_custom_function_get_arguments
                                                        (CpgInstructionCustomFunction *function);
                    CpgInstructionCustomFunctionPrivate;

Object Hierarchy

  CpgMiniObject
   +----CpgInstruction
         +----CpgInstructionCustomFunction

Description

Details

CPG_INSTRUCTION_CUSTOM_FUNCTION_CONST()

#define CPG_INSTRUCTION_CUSTOM_FUNCTION_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CPG_TYPE_INSTRUCTION_CUSTOM_FUNCTION, CpgInstructionCustomFunction const))


struct CpgInstructionCustomFunction

struct CpgInstructionCustomFunction;

The instruction class for CPG_INSTRUCTION_TYPE_CUSTOM_FUNCTION


struct CpgInstructionCustomFunctionClass

struct CpgInstructionCustomFunctionClass {
};


cpg_instruction_custom_function_new ()

CpgInstruction *    cpg_instruction_custom_function_new (CpgFunction *function,
                                                         gint arguments);


cpg_instruction_custom_function_set_function ()

void                cpg_instruction_custom_function_set_function
                                                        (CpgInstructionCustomFunction *function,
                                                         CpgFunction *func);

Set the function executed by the instruction.


cpg_instruction_custom_function_get_function ()

CpgFunction *       cpg_instruction_custom_function_get_function
                                                        (CpgInstructionCustomFunction *function);

Get the function executed by the instruction.


cpg_instruction_custom_function_set_arguments ()

void                cpg_instruction_custom_function_set_arguments
                                                        (CpgInstructionCustomFunction *function,
                                                         gint arguments);


cpg_instruction_custom_function_get_arguments ()

gint                cpg_instruction_custom_function_get_arguments
                                                        (CpgInstructionCustomFunction *function);


CpgInstructionCustomFunctionPrivate

typedef struct _CpgInstructionCustomFunctionPrivate CpgInstructionCustomFunctionPrivate;