mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 12:52:46 +00:00
Avoid namespace issues with dstatements.
This commit is contained in:
parent
f2ef24d0cc
commit
cac2e04b18
2 changed files with 4 additions and 4 deletions
|
@ -308,7 +308,7 @@ extern opcode_t pr_opcodes[];
|
|||
opcode_t *PR_Opcode (pr_short_t opcode);
|
||||
void PR_Opcode_Init (void);
|
||||
|
||||
typedef struct statement_s {
|
||||
typedef struct dstatement_s {
|
||||
pr_opcode_e op:16;
|
||||
pr_ushort_t a,b,c;
|
||||
} dstatement_t;
|
||||
|
|
|
@ -33,15 +33,15 @@
|
|||
#define __codespace_h
|
||||
|
||||
typedef struct codespace_s {
|
||||
struct statement_s *code;
|
||||
struct dstatement_s *code;
|
||||
int size;
|
||||
int max_size;
|
||||
} codespace_t;
|
||||
|
||||
codespace_t *codespace_new (void);
|
||||
void codespace_delete (codespace_t *codespace);
|
||||
void codespace_addcode (codespace_t *codespace, struct statement_s *code,
|
||||
void codespace_addcode (codespace_t *codespace, struct dstatement_s *code,
|
||||
int size);
|
||||
struct statement_s *codespace_newstatement (codespace_t *codespace);
|
||||
struct dstatement_s *codespace_newstatement (codespace_t *codespace);
|
||||
|
||||
#endif//__codespace_h
|
||||
|
|
Loading…
Reference in a new issue