added some extra interfaces for heap support, and the code structures defined

in the IDL files necessitated some refinements to the PIDL parser and code
generator
This commit is contained in:
Eric J. Bowersox
2013-05-07 02:42:36 -06:00
parent e316553b81
commit 983d6f7f31
9 changed files with 271 additions and 12 deletions

View File

@@ -91,9 +91,10 @@
#define END_METHODS
#define INHERIT_METHODS(sym) sym
#define BEGIN_INTERFACE(typ) \
#define DECLARE_INTERFACE(typ) \
struct typ ## VTable; \
typedef interface tagIf ## typ { const struct typ ## VTable *pVTable; } typ; \
typedef interface tagIf ## typ { const struct typ ## VTable *pVTable; } typ;
#define BEGIN_INTERFACE(typ) \
struct typ ## VTable {
#define BEGIN_INTERFACE_(typ, parent) BEGIN_INTERFACE(typ)
#define END_INTERFACE(typ) };
@@ -108,6 +109,8 @@
#define END_METHODS
#define INHERIT_METHODS(sym)
#define DECLARE_INTERFACE(typ) \
interface typ;
#define BEGIN_INTERFACE(typ) \
interface typ {
#define BEGIN_INTERFACE_(typ, parent) \

View File

@@ -78,6 +78,7 @@ typedef int int32_t;
typedef unsigned int uint32_t;
typedef long long int64_t;
typedef unsigned long long uint64_t;
typedef unsigned short wchar_t;
#include <comrogue/object_types.h>