mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
Move the meta type enum ino pr_type.h
This commit is contained in:
parent
3c9e2a6451
commit
fe796eee68
2 changed files with 11 additions and 11 deletions
|
@ -40,6 +40,16 @@
|
|||
|
||||
#include "QF/pr_comp.h"
|
||||
|
||||
typedef enum {
|
||||
ty_basic, ///< VM type (float, int, pointer, field, etc)
|
||||
ty_struct,
|
||||
ty_union,
|
||||
ty_enum,
|
||||
ty_array,
|
||||
ty_class,
|
||||
ty_alias,
|
||||
} ty_meta_e;
|
||||
|
||||
typedef struct qfot_alias_s {
|
||||
pr_int_t type; ///< type at end of alias chain
|
||||
pointer_t aux_type; ///< referenced type
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#ifndef __type_h
|
||||
#define __type_h
|
||||
|
||||
#include "QF/pr_comp.h"
|
||||
#include "QF/pr_type.h"
|
||||
|
||||
#include "def.h"
|
||||
|
||||
|
@ -55,16 +55,6 @@ typedef struct ty_alias_s {
|
|||
struct type_s *type;
|
||||
} ty_alias_t;
|
||||
|
||||
typedef enum {
|
||||
ty_basic, ///< VM type (float, int, pointer, field, etc)
|
||||
ty_struct,
|
||||
ty_union,
|
||||
ty_enum,
|
||||
ty_array,
|
||||
ty_class,
|
||||
ty_alias,
|
||||
} ty_meta_e;
|
||||
|
||||
typedef struct type_s {
|
||||
etype_t type; ///< ev_invalid means structure/array etc
|
||||
const char *name;
|
||||
|
|
Loading…
Reference in a new issue