From da87b3fa0479333cfe9505713f6ffaa54b9ba543 Mon Sep 17 00:00:00 2001 From: Alexey Kulakov Date: Wed, 31 Dec 2014 17:08:47 +0000 Subject: pascal code: reformat, small fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@11700 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/delphi/m_crypto.inc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include/delphi/m_crypto.inc') diff --git a/include/delphi/m_crypto.inc b/include/delphi/m_crypto.inc index c949bda009..82e96b356a 100644 --- a/include/delphi/m_crypto.inc +++ b/include/delphi/m_crypto.inc @@ -33,8 +33,8 @@ type // get/set the instance key getKeyLength:function():size_t; stdcall; - getKey :function(pKey:pByte; cbKeyLen:size_t):ByteBool; stdcall; - setKey :function(const pKey:pByte; cbKeyLen:size_t):ByteBool; stdcall; + getKey :function(pKey:PByte; cbKeyLen:size_t):ByteBool; stdcall; + setKey :function(const pKey:PByte; cbKeyLen:size_t):ByteBool; stdcall; generateKey:function():ByteBool; stdcall; // creates a new key inside purgeKey :procedure(); stdcall; // purges a key from memory @@ -44,12 +44,12 @@ type setPassword :procedure(const pszPassword:PAnsiChar); stdcall; // result must be freed using mir_free or assigned to mir_ptr - encodeString:function(const src:PAnsiChar; var cbResultLen:size_t):pByte; stdcall; - encodeBuffer:function(const src:pointer; cbLen:size_t; var cbResultLen:size_t):pByte; stdcall; + encodeString:function(const src:PAnsiChar; var cbResultLen:size_t):PByte; stdcall; + encodeBuffer:function(const src:pointer; cbLen:size_t; var cbResultLen:size_t):PByte; stdcall; // result must be freed using mir_free or assigned to ptrA/ptrT - decodeString:function(const pBuf:pByte; bufLen:size_t; var cbResultLen:size_t):PAnsiChar; stdcall; - decodeBuffer:function(const pBuf:pByte; bufLen:size_t; var cbResultLen:size_t):pointer; stdcall; + decodeString:function(const pBuf:PByte; bufLen:size_t; var cbResultLen:size_t):PAnsiChar; stdcall; + decodeBuffer:function(const pBuf:PByte; bufLen:size_t; var cbResultLen:size_t):pointer; stdcall; end; ///////////////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3