diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 671c779179..929462fdb5 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,13 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-12-18 10:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * contrib/hbqt/hbqt.h + * contrib/hbqt/hbqt_destruct.cpp + ! Added missing 'extern'. + % Deleted '#include hbstack.h' + * Formatting. + 2009-12-18 01:37 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_base.cpp diff --git a/harbour/contrib/hbqt/hbqt.h b/harbour/contrib/hbqt/hbqt.h index ea1b488b5d..d5fd375bd7 100644 --- a/harbour/contrib/hbqt/hbqt.h +++ b/harbour/contrib/hbqt/hbqt.h @@ -83,7 +83,7 @@ extern const HB_GC_FUNCS * hbqt_gcFuncs( void ); extern int hbqt_getmemused( void ); -void * hbqt_pPtrFromObj( int iParam ); +extern void * hbqt_pPtrFromObj( int iParam ); #include "hbqt_garbage.h" diff --git a/harbour/contrib/hbqt/hbqt_destruct.cpp b/harbour/contrib/hbqt/hbqt_destruct.cpp index f65bd47c11..06e7f7acb7 100644 --- a/harbour/contrib/hbqt/hbqt_destruct.cpp +++ b/harbour/contrib/hbqt/hbqt_destruct.cpp @@ -53,7 +53,6 @@ #include "hbapi.h" #include "hbapiitm.h" -#include "hbstack.h" #include "hbvm.h" #include "hbqt.h" @@ -103,16 +102,12 @@ void * hbqt_pPtrFromObj( int iParam ) hb_vmPush( pObj ); hb_vmSend( 0 ); - return( hbqt_gcpointer( -1 ) ); + return hbqt_gcpointer( -1 ); } else if( hb_itemType( pObj ) == HB_IT_POINTER ) - { - return( hbqt_gcpointer( iParam ) ); - } + return hbqt_gcpointer( iParam ); else - { - return( NULL ); - } + return NULL; } int hbqt_get_object_release_method()