mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
Make D_STRING() more useful and add D_GETSTR()
This commit is contained in:
parent
e04f6266b1
commit
7fb22bd1e4
1 changed files with 2 additions and 1 deletions
|
@ -105,7 +105,8 @@ extern struct symtab_s *current_symtab;
|
|||
#define D_FLOAT(d) D_var (float, d)
|
||||
#define D_INT(d) D_var (integer, d)
|
||||
#define D_VECTOR(d) D_var (vector, d)
|
||||
#define D_STRING(d) GETSTR (D_var (string, d))
|
||||
#define D_STRING(d) D_var (string, d)
|
||||
#define D_GETSTR(d) GETSTR (D_STRING (d))
|
||||
#define D_FUNCTION(d) D_var (func, d)
|
||||
#define D_POINTER(t,d) ((t *)((d)->space->data + (d)->offset))
|
||||
#define D_STRUCT(t,d) (*D_POINTER (t, d))
|
||||
|
|
Loading…
Reference in a new issue