mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
22 lines
547 B
C++
22 lines
547 B
C++
#include "BfObjects.h"
|
|
|
|
USING_NS_BF;
|
|
|
|
Beefy::String bf::System::Object::GetTypeName()
|
|
{
|
|
String* strObj = BFRTCALLBACKS.String_Alloc();
|
|
Type* type = _GetType();
|
|
BFRTCALLBACKS.Type_GetFullName(type, strObj);
|
|
Beefy::String str(strObj->ToStringView());
|
|
BFRTCALLBACKS.Object_Delete(strObj);
|
|
return str;
|
|
}
|
|
|
|
Beefy::String bf::System::Type::GetFullName()
|
|
{
|
|
String* strObj = BFRTCALLBACKS.String_Alloc();
|
|
BFRTCALLBACKS.Type_GetFullName(this, strObj);
|
|
Beefy::String str(strObj->ToStringView());
|
|
BFRTCALLBACKS.Object_Delete(strObj);
|
|
return str;
|
|
}
|