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

Representation of a function in the object file. More...

Data Fields

string_t file
 source file name More...
 
pr_int_t line
 source line number More...
 
string_t name
 function name More...
 
pr_int_t reserved [2]
 
pointer_t type
 function type (in type data space) More...
 
Function code location.

If code is negative, then the function is a VM builtin function.

If code is 0, then the function is a VM builtin function and the VM resolves the function number using the function name. If code is positive, then the function is in progs and code is the first statement of the function.

pr_int_t code
 
pr_int_t def
 def that references this function. More...
 
pr_int_t locals_space
 space holding the function's local data More...
 
pr_int_t line_info
 Index to first pr_lineno_t line record. More...
 
Function relocation records.

XXX not sure how these work

pr_int_t relocs
 Index to first qfo_reloc_t reloc record. More...
 
pr_int_t num_relocs
 Number of reloc records. More...
 

Detailed Description

Representation of a function in the object file.

Field Documentation

pr_int_t code
pr_int_t def

def that references this function.

Index to qfo_def_t. The data word pointed to by the def stores the index of this function.

string_t file

source file name

pr_int_t line

source line number

pr_int_t line_info

Index to first pr_lineno_t line record.

Zero if there are no records.

pr_int_t locals_space

space holding the function's local data

string_t name

function name

pr_int_t num_relocs

Number of reloc records.

pr_int_t relocs

Index to first qfo_reloc_t reloc record.

pr_int_t reserved[2]
pointer_t type

function type (in type data space)


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