summaryrefslogtreecommitdiff
path: root/cffi/parse_c_type.h
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2015-11-03 08:47:25 +0100
committerArmin Rigo <arigo@tunes.org>2015-11-03 08:47:25 +0100
commit675ed8c38a17b4a22e2b76906377675711ee47b5 (patch)
tree0610662e5535f5e218d6a0afb8b7c38b82348213 /cffi/parse_c_type.h
parent8249cb6f4e628cce17b509cc24ece6425b83497a (diff)
downloadcffi-675ed8c38a17b4a22e2b76906377675711ee47b5.tar.gz
Issue #228: do the same for "FILE". Only remaining case now is the
very obscure Windows type UNICODE_STRING. I think it is unlikely that someone hits the case of their cdef not mentioning UNICODE_STRING but their runtime code still wants to use it, so I'll close this issue.
Diffstat (limited to 'cffi/parse_c_type.h')
-rw-r--r--cffi/parse_c_type.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cffi/parse_c_type.h b/cffi/parse_c_type.h
index 42715a3..693ea9b 100644
--- a/cffi/parse_c_type.h
+++ b/cffi/parse_c_type.h
@@ -83,6 +83,8 @@ typedef void *_cffi_opcode_t;
#define _CFFI__UNKNOWN_FLOAT_PRIM (-2)
#define _CFFI__UNKNOWN_LONG_DOUBLE (-3)
+#define _CFFI__IO_FILE_STRUCT (-1)
+
struct _cffi_global_s {
const char *name;