So I'm looking in the tice.h file and looking at os_GetSymTablePtr() and os_NextSymEntry(). I need some help.
Purpose: I'm trying to create a loop that returns every program and appvar type variable on the calc.
Questions:
1. os_GetSymTablePtr() has a void argument and is void type. Shouldn't it return an int?
2. for os_NextSymEntry(), it has arguments of *entry, *type, *nameLength, *name, and **data. Can these be NULL? I'm assuming they do have to be declared.
3. Once I call NextSymEntry, is the format the same as thought it was assembly, in that the first two or three bytes is the size of the variable?
Purpose: I'm trying to create a loop that returns every program and appvar type variable on the calc.
Questions:
1. os_GetSymTablePtr() has a void argument and is void type. Shouldn't it return an int?
2. for os_NextSymEntry(), it has arguments of *entry, *type, *nameLength, *name, and **data. Can these be NULL? I'm assuming they do have to be declared.
3. Once I call NextSymEntry, is the format the same as thought it was assembly, in that the first two or three bytes is the size of the variable?