Correct some comments.

This commit is contained in:
Bill Currie 2012-11-14 17:13:14 +09:00
parent 2685d38059
commit 453ac11bc3
2 changed files with 3 additions and 3 deletions

View file

@ -404,7 +404,7 @@ enum {
*/
#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:
\c void []
@ -412,7 +412,7 @@ enum {
\param s space index
\param t C type of the structure
\param o offset into object file data space
\return pointer_t lvalue
\return C pointer to the struct at space:offset
\hideinitializer
*/

View file

@ -711,7 +711,7 @@ qfo_relocate_refs (qfo_t *qfo)
qfo_reloc_t *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;
switch (reloc->type) {