2014-04-02 12:46 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/filebufd.c
* src/rtl/iousr.c
* slightly modified code to pacify warnings in some older GCC versions
* contrib/gtwvg/gtwvg.hbx
* regenerated with new function
This commit is contained in:
@@ -10,6 +10,14 @@
|
||||
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
|
||||
*/
|
||||
|
||||
2014-04-02 12:46 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* src/rtl/filebufd.c
|
||||
* src/rtl/iousr.c
|
||||
* slightly modified code to pacify warnings in some older GCC versions
|
||||
|
||||
* contrib/gtwvg/gtwvg.hbx
|
||||
* regenerated with new function
|
||||
|
||||
2014-04-02 08:31 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* src/vm/hashes.c
|
||||
! added missing HB_STACK_TLS_PRELOAD
|
||||
|
||||
@@ -131,6 +131,7 @@ DYNAMIC Wvg_IsWindow
|
||||
DYNAMIC Wvg_IsZoomed
|
||||
DYNAMIC Wvg_Label
|
||||
DYNAMIC Wvg_LabelEx
|
||||
DYNAMIC Wvg_LabelEx2
|
||||
DYNAMIC Wvg_LBGetCurSel
|
||||
DYNAMIC Wvg_LBGetText
|
||||
DYNAMIC Wvg_LBSetCurSel
|
||||
|
||||
@@ -450,7 +450,7 @@ static const HB_FILE_FUNCS s_fileFuncs =
|
||||
s_fileHandle
|
||||
};
|
||||
|
||||
typedef void * ( * HB_FILE_FUNC )( PHB_FILE );
|
||||
typedef HB_BOOL ( * HB_FILE_FUNC )( PHB_FILE_FUNCS pFuncs, const char * );
|
||||
#define HB_FILE_FUNC_COUNT ( sizeof( HB_FILE_FUNCS ) / sizeof( HB_FILE_FUNC ) )
|
||||
|
||||
HB_BOOL hb_fileRegisterPart( HB_FILE_FUNCS * pFuncs )
|
||||
@@ -459,8 +459,8 @@ HB_BOOL hb_fileRegisterPart( HB_FILE_FUNCS * pFuncs )
|
||||
HB_FILE_FUNC * pFunction;
|
||||
int iCount;
|
||||
|
||||
pDummyFunc = ( const HB_FILE_FUNC * ) &s_fileFuncs.Accept;
|
||||
pFunction = ( HB_FILE_FUNC * ) pFuncs;
|
||||
pDummyFunc = &s_fileFuncs.Accept;
|
||||
pFunction = &pFuncs->Accept;
|
||||
|
||||
for( iCount = 0; iCount < ( int ) HB_FILE_FUNC_COUNT;
|
||||
iCount++, pDummyFunc++, pFunction++ )
|
||||
|
||||
@@ -697,7 +697,8 @@ static const HB_FILE_FUNCS s_fileFuncs =
|
||||
s_fileHandle
|
||||
};
|
||||
|
||||
typedef void * ( * HB_FILE_FUNC )( PHB_FILE );
|
||||
typedef HB_BOOL ( * HB_FILE_FUNC )( PHB_FILE_FUNCS pFuncs, const char * );
|
||||
#define HB_FILE_FUNC_COUNT ( sizeof( HB_FILE_FUNCS ) / sizeof( HB_FILE_FUNC ) )
|
||||
|
||||
/* IOUSR_Register( <aMethods>, <cPrefix> ) */
|
||||
HB_FUNC( IOUSR_REGISTER )
|
||||
@@ -709,8 +710,8 @@ HB_FUNC( IOUSR_REGISTER )
|
||||
{
|
||||
HB_SIZE nMethods = hb_arrayLen( pMthItm ), nAt;
|
||||
|
||||
if( nMethods > IOUSR_METHODCOUNT )
|
||||
nMethods = IOUSR_METHODCOUNT;
|
||||
if( nMethods > HB_MIN( IOUSR_METHODCOUNT, HB_FILE_FUNC_COUNT ) )
|
||||
nMethods = HB_MIN( IOUSR_METHODCOUNT, HB_FILE_FUNC_COUNT );
|
||||
|
||||
for( nAt = 1; nAt <= nMethods; ++nAt )
|
||||
{
|
||||
@@ -729,8 +730,8 @@ HB_FUNC( IOUSR_REGISTER )
|
||||
const HB_FILE_FUNC * pDummyFunc;
|
||||
HB_FILE_FUNC * pFunction;
|
||||
|
||||
pDummyFunc = ( const HB_FILE_FUNC * ) &s_fileFuncs.Accept;
|
||||
pFunction = ( HB_FILE_FUNC * ) &pIO->funcs.Accept;
|
||||
pDummyFunc = &s_fileFuncs.Accept;
|
||||
pFunction = &pIO->funcs.Accept;
|
||||
for( nAt = 1; nAt <= nMethods; ++nAt, pDummyFunc++, pFunction++ )
|
||||
{
|
||||
pIO->prg_funcs[ nAt - 1 ] = hb_arrayGetSymbol( pMthItm, nAt );
|
||||
|
||||
Reference in New Issue
Block a user