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:
@@ -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) \
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user