![]() |
![]() |
![]() |
cpg-network Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
#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;
#define CPG_INSTRUCTION_CUSTOM_FUNCTION_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CPG_TYPE_INSTRUCTION_CUSTOM_FUNCTION, CpgInstructionCustomFunction const))
struct CpgInstructionCustomFunction;
The instruction class for CPG_INSTRUCTION_TYPE_CUSTOM_FUNCTION
CpgInstruction * cpg_instruction_custom_function_new (CpgFunction *function
,gint arguments
);
void cpg_instruction_custom_function_set_function (CpgInstructionCustomFunction *function
,CpgFunction *func
);
Set the function executed by the instruction.
|
A CpgInstructionCustomFunction |
|
A CpgFunction. [transfer full] |
CpgFunction * cpg_instruction_custom_function_get_function
(CpgInstructionCustomFunction *function
);
Get the function executed by the instruction.
|
A CpgInstructionCustomFunction |
Returns : |
A CpgFunction. [transfer none] |
void cpg_instruction_custom_function_set_arguments (CpgInstructionCustomFunction *function
,gint arguments
);
gint cpg_instruction_custom_function_get_arguments
(CpgInstructionCustomFunction *function
);