forked from LeenkxTeam/LNXSDK
101 lines
2.1 KiB
C++
101 lines
2.1 KiB
C++
#include <hxcpp.h>
|
|
#if (HXCPP_API_LEVEL < 330)
|
|
|
|
namespace hx
|
|
{
|
|
|
|
void Interface::__Mark(hx::MarkContext *__inCtx)
|
|
{
|
|
Object *obj = __GetRealObject();
|
|
HX_MARK_OBJECT(obj);
|
|
}
|
|
|
|
hx::Object *Interface::__ToInterface(const hx::type_info &i)
|
|
{
|
|
return __GetRealObject()->__ToInterface(i);
|
|
}
|
|
int Interface::__GetType() const
|
|
{
|
|
return const_cast<Interface *>(this)->__GetRealObject()->__GetType();
|
|
}
|
|
|
|
void *Interface::__GetHandle() const
|
|
{
|
|
return const_cast<Interface *>(this)->__GetRealObject()->__GetHandle();
|
|
}
|
|
|
|
hx::FieldRef Interface::__FieldRef(const ::String &s)
|
|
{
|
|
return __GetRealObject()->__FieldRef(s);
|
|
}
|
|
|
|
::String Interface::__ToString() const
|
|
{
|
|
return const_cast<Interface *>(this)->__GetRealObject()->__ToString();
|
|
}
|
|
|
|
int Interface::__ToInt() const
|
|
{
|
|
return const_cast<Interface *>(this)->__GetRealObject()->__ToInt();
|
|
}
|
|
|
|
double Interface::__ToDouble() const
|
|
{
|
|
return const_cast<Interface *>(this)->__GetRealObject()->__ToDouble();
|
|
}
|
|
|
|
const char * Interface::__CStr() const
|
|
{
|
|
return const_cast<Interface *>(this)->__GetRealObject()->__CStr();
|
|
}
|
|
|
|
::String Interface::toString()
|
|
{
|
|
return __GetRealObject()->toString();
|
|
}
|
|
|
|
bool Interface::__HasField(const ::String &s)
|
|
{
|
|
return __GetRealObject()->__HasField(s);
|
|
}
|
|
|
|
hx::Val Interface::__Field(const ::String &s, hx::PropertyAccess inCallProp)
|
|
{
|
|
return __GetRealObject()->__Field(s,inCallProp);
|
|
}
|
|
|
|
Dynamic Interface::__IField(int i)
|
|
{
|
|
return __GetRealObject()->__IField( i);
|
|
}
|
|
|
|
hx::Val Interface::__SetField(const ::String &s,const hx::Val &d, hx::PropertyAccess inCallProp)
|
|
{
|
|
return __GetRealObject()->__SetField(s,d,inCallProp);
|
|
}
|
|
|
|
void Interface::__SetThis(Dynamic d)
|
|
{
|
|
return __GetRealObject()->__SetThis(d);
|
|
}
|
|
|
|
void Interface::__GetFields(Array< ::String> &a)
|
|
{
|
|
return __GetRealObject()->__GetFields(a);
|
|
}
|
|
|
|
hx::Class Interface::__GetClass() const
|
|
{
|
|
return const_cast<Interface *>(this)->__GetRealObject()->__GetClass();
|
|
}
|
|
|
|
int Interface::__Compare(const hx::Object *o) const
|
|
{
|
|
return const_cast<Interface *>(this)->__GetRealObject()->__Compare(o);
|
|
}
|
|
|
|
|
|
|
|
} // end namespace hx
|
|
#endif // HXCPP_API_LEVEL 330
|