Name
afc_dynamic_class_add_method -- Adds a new method to the class
Synopsis
int afc_dynamic_class_clear
( DynamicClass * dc, char * name, DynamicClassMethod func );
Description
This function adds a new method to the current Dynamic Class. The method will have the name
you specify with the *name* parameter and will point to the *func* function.
Inputs
- dc
Pointer to a valid DynamicClass instance.
- name
Name of the method
- func
Function to bind to this method name
Result
should be AFC_ERR_NO_ERROR