mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
[gamecode] Move pr_void_t to pr_comp.h
I think I had decided to put it there but forgot before committing the size change, but I wound up needing it for qfcc.
This commit is contained in:
parent
57fe669099
commit
8d20997b2b
2 changed files with 2 additions and 2 deletions
|
@ -534,6 +534,8 @@ typedef union pr_type_u {
|
|||
pr_uint_t uint_var;
|
||||
} pr_type_t;
|
||||
|
||||
typedef pr_type_t pr_void_t; // so size of void is 1
|
||||
|
||||
typedef struct pr_va_list_s {
|
||||
pr_int_t count;
|
||||
pr_ptr_t list; // pr_type_t
|
||||
|
|
|
@ -33,8 +33,6 @@
|
|||
|
||||
#include "QF/progs.h"
|
||||
|
||||
typedef pr_type_t pr_void_t; // so size of void is 1
|
||||
|
||||
#define EV_TYPE(type) (sizeof (pr_##type##_t) / sizeof (pr_int_t)),
|
||||
VISIBLE const pr_ushort_t pr_type_size[ev_type_count] = {
|
||||
#include "QF/progs/pr_type_names.h"
|
||||
|
|
Loading…
Reference in a new issue