From 8abe20728334cdb09efc108c9ca626ddcb4ed81b Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 12 Dec 2009 14:47:08 +0000 Subject: [PATCH] 2009-12-12 15:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * include/hbwinuni.h + Added HB_ARRAYGETSTR(). * ChangeLog + Added missing item to prev. --- harbour/ChangeLog | 8 ++++++++ harbour/include/hbwinuni.h | 2 ++ 2 files changed, 10 insertions(+) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 3206c69b58..4ad6164a96 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,11 +17,19 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-12-12 15:46 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * include/hbwinuni.h + + Added HB_ARRAYGETSTR(). + + * ChangeLog + + Added missing item to prev. + 2009-12-12 15:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/Makefile * contrib/hbwin/mapi.c + Added to Makefile. ! Added SVN ID. + ! Added SVN props. ! Added License header. (pls add your name to copyright headers) ! Fixed to use simple quote to include Harbour headers. ! Fixed Windows header inclusion. diff --git a/harbour/include/hbwinuni.h b/harbour/include/hbwinuni.h index d261f61223..ce6a4c6e6c 100644 --- a/harbour/include/hbwinuni.h +++ b/harbour/include/hbwinuni.h @@ -66,6 +66,7 @@ #define HB_RETSTRLEN( str, len ) hb_retstrlen_u16( HB_CDP_ENDIAN_NATIVE, str, len ) #define HB_STORSTR( str, n ) hb_storstr_u16( HB_CDP_ENDIAN_NATIVE, str, n ) #define HB_STORSTRLEN( str, len, n ) hb_storstrlen_u16( HB_CDP_ENDIAN_NATIVE, str, len, n ) + #define HB_ARRAYGETSTR( arr, n, phstr, plen ) hb_arrayGetStrU16( arr, n, HB_CDP_ENDIAN_NATIVE, phstr, plen ) #define HB_ARRAYSETSTR( arr, n, str ) hb_arraySetStrU16( arr, n, HB_CDP_ENDIAN_NATIVE, str ) #define HB_ARRAYSETSTRLEN( arr, n, str, len ) hb_arraySetStrLenU16( arr, n, HB_CDP_ENDIAN_NATIVE, str, len ) #define HB_ITEMGETSTR( itm, phstr, plen ) hb_itemGetStrU16( itm, HB_CDP_ENDIAN_NATIVE, phstr, plen ) @@ -79,6 +80,7 @@ #define HB_RETSTRLEN( str, len ) hb_retstrlen( hb_setGetOSCP(), str, len ) #define HB_STORSTR( str, n ) hb_storstr( hb_setGetOSCP(), str, n ) #define HB_STORSTRLEN( str, len, n ) hb_storstrlen( hb_setGetOSCP(), str, len, n ) + #define HB_ARRAYGETSTR( arr, n, phstr, plen ) hb_arrayGetStr( arr, n, hb_setGetOSCP(), phstr, plen ) #define HB_ARRAYSETSTR( arr, n, str ) hb_arraySetStr( arr, n, hb_setGetOSCP(), str ) #define HB_ARRAYSETSTRLEN( arr, n, str, len ) hb_arraySetStrLen( arr, n, hb_setGetOSCP(), str, len ) #define HB_ITEMGETSTR( itm, phstr, plen ) hb_itemGetStr( itm, hb_setGetOSCP(), phstr, plen )