2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Desc: Stubs for private methods.
15 #include <aros/debug.h>
17 #define OOPBase (OOP_OOPBASE(o))
19 #ifndef AROS_CREATE_ROM
20 # define STATIC_MID static OOP_MethodID mid
22 # define STATIC_MID OOP_MethodID mid = 0
25 BOOL
meta_allocdisptabs(OOP_Object
*o
, OOP_Class
*super
, struct OOP_InterfaceDescr
*ifdescr
)
28 struct P_meta_allocdisptabs p
;
31 mid
= OOP_GetMethodID(IID_Meta
, MO_meta_allocdisptabs
);
37 return ( OOP_DoMethod(o
, (OOP_Msg
)&p
) );
40 VOID
meta_freedisptabs(OOP_Object
*o
)
43 struct P_meta_freedisptabs p
;
46 mid
= OOP_GetMethodID(IID_Meta
, MO_meta_freedisptabs
);
50 OOP_DoMethod(o
, (OOP_Msg
)&p
);
57 struct IFMethod
*meta_iterateifs(OOP_Object
*o
, IPTR
*iterval_ptr
, STRPTR
*interface_id_ptr
, ULONG
*num_methods_ptr
)
60 struct P_meta_iterateifs p
;
63 mid
= OOP_GetMethodID(IID_Meta
, MO_meta_iterateifs
);
66 p
.iterval_ptr
= iterval_ptr
;
67 p
.interface_id_ptr
= interface_id_ptr
;
68 p
.num_methods_ptr
= num_methods_ptr
;
70 return (struct IFMethod
*)OOP_DoMethod(o
, (OOP_Msg
)&p
);
74 struct IFMethod
*meta_getifinfo(OOP_Object
*o
, STRPTR interface_id
, ULONG
*num_methods_ptr
)
77 struct P_meta_getifinfo p
;
80 mid
= OOP_GetMethodID(IID_Meta
, MO_meta_getifinfo
);
83 p
.interface_id
= interface_id
;
84 p
.num_methods_ptr
= num_methods_ptr
;
86 return (struct IFMethod
*)OOP_DoMethod(o
, (OOP_Msg
)&p
);
92 struct IFMethod
*meta_findmethod(OOP_Object
*o
, OOP_MethodID method_to_find
, struct Library
*OOPBase
)
95 struct P_meta_findmethod p
;
98 mid
= OOP_GetMethodID(IID_Meta
, MO_meta_findmethod
);
101 p
.method_to_find
= method_to_find
;
103 return (struct IFMethod
*)OOP_DoMethod(o
, (OOP_Msg
)&p
);