cfileio: fix function typedefs to have struct/enum
authorMatthew Waters <matthew@centricular.com>
Mon, 17 Oct 2016 13:20:28 +0000 (00:20 +1100)
committerMatthew Waters <matthew@centricular.com>
Mon, 17 Oct 2016 13:20:28 +0000 (00:20 +1100)
commit6ed1bcd41bc61adb40738d0052c985184dbff1b0
treedcdb2ae0746f531705abf5ad3b26cd267d76f152
parent09ad67f46998ad98db8920537d55a2a065edd748
cfileio: fix function typedefs to have struct/enum

Otherwise building with cfileio.h would result in:

/usr/include/assimp/cfileio.h:61:58: error: unknown type name ‘aiOrigin’
 typedef aiReturn (*aiFileSeek)(C_STRUCT aiFile*, size_t, aiOrigin);
                                                          ^~~~~~~~
/usr/include/assimp/cfileio.h:64:9: error: unknown type name ‘aiFile’
 typedef aiFile* (*aiFileOpenProc)  (C_STRUCT aiFileIO*, const char*, const char*);
         ^~~~~~
/usr/include/assimp/cfileio.h:122:5: error: unknown type name ‘aiFileSeek’
     aiFileSeek SeekProc;
     ^~~~~~~~~~
include/assimp/cfileio.h