Browse Source

Fix for ptr typeinfo on macos/linux

Mark Sibly 7 years ago
parent
commit
8bb8c51f02
1 changed files with 2 additions and 0 deletions
  1. 2 0
      modules/monkey/native/bbtypeinfo.h

+ 2 - 0
modules/monkey/native/bbtypeinfo.h

@@ -77,6 +77,8 @@ BB_GETTYPE_DECL( bbString )
 BB_GETTYPE_DECL( bbCString )
 BB_GETTYPE_DECL( bbCString )
 BB_GETTYPE_DECL( bbVariant )
 BB_GETTYPE_DECL( bbVariant )
 
 
+template<class T> bbTypeInfo *bbGetType( T* const& );
+
 template<class T> bbTypeInfo *bbGetType(){
 template<class T> bbTypeInfo *bbGetType(){
 
 
 	return bbGetType( *(T*)0 );
 	return bbGetType( *(T*)0 );