mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 23:11:38 +00:00
Correct some comments.
This commit is contained in:
parent
2685d38059
commit
453ac11bc3
2 changed files with 3 additions and 3 deletions
|
@ -404,7 +404,7 @@ enum {
|
||||||
*/
|
*/
|
||||||
#define QFO_FUNCTION(q, s, o) QFO_var (q, s, func, o)
|
#define QFO_FUNCTION(q, s, o) QFO_var (q, s, func, o)
|
||||||
|
|
||||||
/** Access a pointer variable in the object file. Can be assigned to.
|
/** Access a block of memory in the object file as a C struct.
|
||||||
|
|
||||||
\par QC type:
|
\par QC type:
|
||||||
\c void []
|
\c void []
|
||||||
|
@ -412,7 +412,7 @@ enum {
|
||||||
\param s space index
|
\param s space index
|
||||||
\param t C type of the structure
|
\param t C type of the structure
|
||||||
\param o offset into object file data space
|
\param o offset into object file data space
|
||||||
\return pointer_t lvalue
|
\return C pointer to the struct at space:offset
|
||||||
|
|
||||||
\hideinitializer
|
\hideinitializer
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -711,7 +711,7 @@ qfo_relocate_refs (qfo_t *qfo)
|
||||||
qfo_reloc_t *reloc;
|
qfo_reloc_t *reloc;
|
||||||
|
|
||||||
for (i = 0, reloc = qfo->relocs; i < qfo->num_relocs; i++, reloc++) {
|
for (i = 0, reloc = qfo->relocs; i < qfo->num_relocs; i++, reloc++) {
|
||||||
// this will be valid only for *_def relocs
|
// this will be valid only for *_def[_ofs] and *_field[_ofs] relocs
|
||||||
qfo_def_t *def = qfo->defs + reloc->target;
|
qfo_def_t *def = qfo->defs + reloc->target;
|
||||||
|
|
||||||
switch (reloc->type) {
|
switch (reloc->type) {
|
||||||
|
|
Loading…
Reference in a new issue