|
|
@@ -8,8 +8,8 @@
|
|
|
namespace Urho3D
|
|
|
{
|
|
|
|
|
|
-// Vector<unsigned char> DecodeBase64(String encodedString) | File: ../Core/StringUtils.h
|
|
|
-static CScriptArray* Vectorlesunsignedspchargre_DecodeBase64_String(String encodedString)
|
|
|
+// Vector<unsigned char> DecodeBase64(const String& encodedString) | File: ../Core/StringUtils.h
|
|
|
+static CScriptArray* Vectorlesunsignedspchargre_DecodeBase64_constspStringamp(const String& encodedString)
|
|
|
{
|
|
|
Vector<unsigned char> result = DecodeBase64(encodedString);
|
|
|
return VectorToArray(result, "Array<uint8>");
|
|
|
@@ -100,8 +100,8 @@ void ASRegisterGeneratedGlobalFunctions(asIScriptEngine* engine)
|
|
|
// i32 CountSetBits(u32 value) | File: ../Math/MathDefs.h
|
|
|
engine->RegisterGlobalFunction("int CountSetBits(uint)", AS_FUNCTIONPR(CountSetBits, (u32), i32), AS_CALL_CDECL);
|
|
|
|
|
|
- // Vector<unsigned char> DecodeBase64(String encodedString) | File: ../Core/StringUtils.h
|
|
|
- engine->RegisterGlobalFunction("Array<uint8>@ DecodeBase64(String)", AS_FUNCTION(Vectorlesunsignedspchargre_DecodeBase64_String), AS_CALL_CDECL);
|
|
|
+ // Vector<unsigned char> DecodeBase64(const String& encodedString) | File: ../Core/StringUtils.h
|
|
|
+ engine->RegisterGlobalFunction("Array<uint8>@ DecodeBase64(const String&in)", AS_FUNCTION(Vectorlesunsignedspchargre_DecodeBase64_constspStringamp), AS_CALL_CDECL);
|
|
|
|
|
|
// unsigned DecompressData(void* dest, const void* src, unsigned destSize) | File: ../IO/Compression.h
|
|
|
// Error: type "void*" can not automatically bind
|