diff options
author | George Hazan <george.hazan@gmail.com> | 2013-08-15 07:27:19 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-08-15 07:27:19 +0000 |
commit | 6082f8c569cd3df0ebdcec61a223027868207473 (patch) | |
tree | 4273e813b6dfdde2819c499595f18827d5fb7ac4 /include/delphi | |
parent | a2c85825aaec89e4602615b30e1af45c13adc4dd (diff) |
bin2hex/bin2hexW = eliminates many places with printf("%02x")
git-svn-id: http://svn.miranda-ng.org/main/trunk@5698 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/delphi')
-rw-r--r-- | include/delphi/m_core.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/delphi/m_core.inc b/include/delphi/m_core.inc index a8ecb0227d..9b36825a91 100644 --- a/include/delphi/m_core.inc +++ b/include/delphi/m_core.inc @@ -633,6 +633,12 @@ function replaceStr(var dest:pAnsiChar; const src:pAnsiChar):pAnsiChar; stdcall; external CoreDLL name 'replaceStr';
function replaceStrW(var dest:pWideChar; const src:pWideChar):pWideChar; stdcall;
external CoreDLL name 'replaceStrW';
+
+function bin2hex(data:pointer; dataLen:uint_ptr; pDest:pAnsiChar):pAnsiChar; stdcall;
+ external CoreDLL name 'bin2hex';
+function bin2hexW(data:pointer; dataLen:uint_ptr; pDest:pWideChar):pWideChar; stdcall;
+ external CoreDLL name 'bin2hexW';
+
///////////////////////////////////////////////////////////////////////////////
// text conversion functions
|