API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

AEEINTERFACE_DEFINE()

Brew Release
Brew MP 1.0.2
Description
Uses an INHERIT_iname() macro and AEEINTERFACE() to define a standard BREW interface.
Designed to be used like so:
      #define INHERIT_IFoo(iname) \
         uint32 (*AddRef)(iname*);\
         uint32 (*Release)(iname*);\
         int    (*QueryInterface)(iname *, AEECLSID, void **)

      AEEINTERFACE_DEFINE(IFoo);
Params
iname
[]:
the interface name for which the struct and method vtable types should be defined.
Definition
  •    #define AEEINTERFACE_DEFINE(iname)\
                   typedef struct iname iname;\
                   AEEVTBL_DEFINE(iname)
    
Comments
This macro assumes the existence of INHERIT_##iname() #define