QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages

Create a static array of these and pass the array to PR_RegisterBuiltins() to register the module's QC builtin functions. More...

Collaboration diagram for builtin_t:
[legend]

Data Fields

pr_int_t binum
 The number of the builtin for #N in QC. More...
 
const char * name
 QC name of the builtin. More...
 
builtin_proc proc
 Pointer to the C implementation of the builtin function. More...
 

Detailed Description

Create a static array of these and pass the array to PR_RegisterBuiltins() to register the module's QC builtin functions.

Field Documentation

pr_int_t binum

The number of the builtin for #N in QC.

-1 for automatic allocation. 0 or >= PR_AUTOBUILTIN is invalid.

const char* name

QC name of the builtin.

Must be an exact match for automatically resolved builtins (func = #0 in QC). NULL indicates end of array for PR_RegisterBuiltins()

Pointer to the C implementation of the builtin function.


The documentation for this struct was generated from the following file: