summaryrefslogtreecommitdiff
path: root/include/delphi/m_core.inc
diff options
context:
space:
mode:
Diffstat (limited to 'include/delphi/m_core.inc')
-rw-r--r--include/delphi/m_core.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/delphi/m_core.inc b/include/delphi/m_core.inc
index 0b14858923..0be77bbe48 100644
--- a/include/delphi/m_core.inc
+++ b/include/delphi/m_core.inc
@@ -553,9 +553,9 @@ procedure mir_sha1_hash(dataIn:pmir_sha1_byte_t; len:int;hashout:SHA1Hash); stdc
///////////////////////////////////////////////////////////////////////////////
// strings
-function mir_base64_decode(str:pAnsiChar):pAnsiChar; stdcall;
+function mir_base64_decode(str:pAnsiChar; var resultSize:int):PByte; stdcall;
external CoreDLL name 'mir_base64_decode';
-function mir_base64_encode(str:pAnsiChar):pAnsiChar; stdcall;
+function mir_base64_encode(data:PByte; dataSize:int):pAnsiChar; stdcall;
external CoreDLL name 'mir_base64_encode';
function rtrim(str:pAnsiChar):pAnsiChar; stdcall;