Rename ObjC helper GetResId -> GetResID

This commit is contained in:
Jake Turner
2022-03-15 16:18:50 +00:00
committed by Baldur Karlsson
parent 6a657bd19f
commit 308456535f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -38,7 +38,7 @@
extern WrappedMTL##CPPTYPE *GetWrapped(MTL::CPPTYPE *objCWrapped); \
extern MTL::CPPTYPE *GetReal(MTL::CPPTYPE *objCWrapped); \
extern bool IsObjCWrapped(MTL::CPPTYPE *objCWrapped); \
extern ResourceId GetResId(MTL::CPPTYPE *objCWrapped); \
extern ResourceId GetResID(MTL::CPPTYPE *objCWrapped); \
extern MTL::CPPTYPE *AllocateObjCBridge(WrappedMTL##CPPTYPE *wrapped);
METALCPP_WRAPPED_PROTOCOLS(DECLARE_OBJC_HELPERS)
+1 -1
View File
@@ -58,7 +58,7 @@
return [objC isKindOfClass:[ObjCBridgeMTL##CPPTYPE class]]; \
} \
\
ResourceId GetResId(MTL::CPPTYPE *cppType) \
ResourceId GetResID(MTL::CPPTYPE *cppType) \
{ \
WrappedMTL##CPPTYPE *wrappedCPP = GetWrapped(cppType); \
if(wrappedCPP == NULL) \