X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=types.h;h=282a0675c8285024f67c47101d872f8fb7977a5e;hb=c080804a9ae61e4ba0ec6fc7288c81c326fa9ddb;hp=26ffe3a7a0f19d3dcef187925bebf2696d91fd95;hpb=b3b5cda5150d090e2286748b06d4fef3f29a5371;p=cparser diff --git a/types.h b/types.h index 26ffe3a..282a067 100644 --- a/types.h +++ b/types.h @@ -1,6 +1,6 @@ /* * This file is part of cparser. - * Copyright (C) 2007-2008 Matthias Braun + * Copyright (C) 2007-2009 Matthias Braun * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -43,7 +43,9 @@ extern type_t *type_unsigned_long; extern type_t *type_void; extern type_t *type_char_ptr; +extern type_t *type_char_ptr_restrict; extern type_t *type_const_char_ptr; +extern type_t *type_const_char_ptr_restrict; extern type_t *type_int_ptr; extern type_t *type_long_long_ptr; extern type_t *type_long_ptr; @@ -51,6 +53,10 @@ extern type_t *type_unsigned_long_ptr; extern type_t *type_short_ptr; extern type_t *type_signed_char_ptr; extern type_t *type_void_ptr; +extern type_t *type_const_void; +extern type_t *type_const_void_ptr; +extern type_t *type_void_ptr_restrict; +extern type_t *type_const_void_ptr_restrict; extern type_t *type_char_ptr_ptr; @@ -98,6 +104,6 @@ extern type_t *type_unsigned_int64; extern type_t *type_unsigned_int128; void init_basic_types(void); -void init_builtin_types(void); +void init_wchar_types(type_t *base); #endif