| Register a function within a class |
| Declaration: |
| int ferite_register_class_function( FeriteScript *script, FeriteClass *klass, FeriteFunction *f ) |
| Description: |
| It must be noted that the function being passed must not have the super, and self variables within their signitue, this function will handle that automatically |
| Parameters: |
| Parameter #1: FeriteScript *script - The current script |
| Parameter #2: FeriteClass *klass - The class to place the function in |
| Parameter #3: FeriteFunction *f - The function structure |
| Parameter #4: int is_static - Boolean, 0 = not static, 1 = static. Allows the specifcation of whether or not the function has static access within the class |
| Returns: |
| 1 if function was registered correctly, 0 otherwise |