Update Files

This commit is contained in:
2025-01-22 16:18:30 +01:00
parent ed4603cf95
commit a36294b518
16718 changed files with 2960346 additions and 0 deletions

View File

@ -0,0 +1,100 @@
#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