| Recusively look in a namespace for an element |
| Declaration: |
| FeriteNamespaceBucket *ferite_find_namespace( FeriteScript *script, FeriteNamespace *parent, char *obj, int type ) |
| Description: |
The type dictates what is returned. No type is specified (0) then if any element is found then it will be returned. If a type is specified then it is checked to see if the bucket is of the correct type, if so it is returned, if not NULL is returned. The types are FENS_VAR, FENS_FNC, FENS_CLS, or FENS_NS. |
| Parameters: |
| Parameter #1: FeriteScript *script - The script |
| Parameter #2: FeriteNamespace *parent - The namespace to look in |
| Parameter #3: char *obj - The name to locate |
| Parameter #4: int type - The type to look for |
| Returns: |
| The namespace bucket if it is found otherwise NULL |