2019-08-23 11:56:54 -07:00
|
|
|
#include "BfObjects.h"
|
|
|
|
|
|
|
|
USING_NS_BF;
|
|
|
|
|
|
|
|
Beefy::String bf::System::Object::GetTypeName()
|
|
|
|
{
|
2019-08-27 08:04:41 -07:00
|
|
|
String* strObj = BFRTCALLBACKS.String_Alloc();
|
|
|
|
Type* type = _GetType();
|
|
|
|
BFRTCALLBACKS.Type_GetFullName(type, strObj);
|
2024-03-17 06:26:38 -04:00
|
|
|
Beefy::String str(strObj->ToStringView());
|
2019-08-27 08:04:41 -07:00
|
|
|
BFRTCALLBACKS.Object_Delete(strObj);
|
2019-08-23 11:56:54 -07:00
|
|
|
return str;
|
|
|
|
}
|
|
|
|
|
|
|
|
Beefy::String bf::System::Type::GetFullName()
|
|
|
|
{
|
2019-08-27 08:04:41 -07:00
|
|
|
String* strObj = BFRTCALLBACKS.String_Alloc();
|
|
|
|
BFRTCALLBACKS.Type_GetFullName(this, strObj);
|
2024-03-17 06:26:38 -04:00
|
|
|
Beefy::String str(strObj->ToStringView());
|
2019-08-27 08:04:41 -07:00
|
|
|
BFRTCALLBACKS.Object_Delete(strObj);
|
2019-08-23 11:56:54 -07:00
|
|
|
return str;
|
|
|
|
}
|