projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- 2009 patch
[cparser]
/
types.c
diff --git
a/types.c
b/types.c
index
812dc68
..
0f25245
100644
(file)
--- a/
types.c
+++ b/
types.c
@@
-1,6
+1,6
@@
/*
* This file is part of cparser.
/*
* This file is part of cparser.
- * Copyright (C) 2007-200
8
Matthias Braun <matze@braunis.de>
+ * Copyright (C) 2007-200
9
Matthias Braun <matze@braunis.de>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@
-71,6
+71,8
@@
type_t *type_ssize_t_ptr;
type_t *type_wchar_t_ptr;
type_t *type_const_wchar_t_ptr;
type_t *type_wchar_t_ptr;
type_t *type_const_wchar_t_ptr;
+type_t *type_valist;
+
/* microsoft types */
atomic_type_kind_t int8_type_kind = ATOMIC_TYPE_INVALID;
atomic_type_kind_t int16_type_kind = ATOMIC_TYPE_INVALID;
/* microsoft types */
atomic_type_kind_t int8_type_kind = ATOMIC_TYPE_INVALID;
atomic_type_kind_t int16_type_kind = ATOMIC_TYPE_INVALID;
@@
-96,8
+98,7
@@
type_t *type_int64_ptr;
void init_basic_types(void)
{
void init_basic_types(void)
{
- static const type_base_t error = { TYPE_ERROR, 0, TYPE_QUALIFIER_NONE,
- TYPE_MODIFIER_NONE, 0, NULL };
+ static const type_base_t error = { TYPE_ERROR, TYPE_QUALIFIER_NONE, NULL };
type_error_type = (type_t*)&error;
type_bool = make_atomic_type(ATOMIC_TYPE_BOOL, TYPE_QUALIFIER_NONE);
type_error_type = (type_t*)&error;
type_bool = make_atomic_type(ATOMIC_TYPE_BOOL, TYPE_QUALIFIER_NONE);