diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 82c44d6df6..daeb8f775f 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,11 @@ The license applies to all entries newer than 2009-04-28. */ +2011-02-11 15:45 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * contrib/hbqt/qtcore/hbqt_pointer.cpp + * contrib/hbqt/qtcore/hbqt.h + + Added hbqt_errRT_ARG() to raise argument RTE in wrapper methods. + 2011-02-11 14:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/base64d.c ! fixed destination buffer size calculation - it was too small @@ -69,7 +74,7 @@ * src/rtl/base64d.c ! HB_BASE64DECODE(): Forgot to return sized buffer in recently added C version of this function. - ; Please review and/or stree-test this function. + ; Please review and/or stree-test this function. [DONE] 2011-02-10 23:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg @@ -1729,7 +1734,7 @@ I had used the Harbour license for the whole file. This code is 50-100 times faster than old Harbour code doing the same job. Please review it, especially the buffer size - calculation. + calculation. [DONE] BTW the C code uses a unique trick called 'Duff's device'. 2011-01-30 18:35 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) diff --git a/harbour/contrib/hbqt/qtcore/hbqt.h b/harbour/contrib/hbqt/qtcore/hbqt.h index f972ff6794..5d17520446 100644 --- a/harbour/contrib/hbqt/qtcore/hbqt.h +++ b/harbour/contrib/hbqt/qtcore/hbqt.h @@ -93,6 +93,7 @@ extern HB_EXPORT void * hbqt_gcpointer( int iParam ); extern HB_EXPORT void * hbqt_detachgcpointer( int iParam ); extern HB_EXPORT const HB_GC_FUNCS * hbqt_gcFuncs( void ); extern HB_EXPORT void * hbqt_pPtrFromObj( int iParam ); +extern HB_EXPORT void hbqt_errRT_ARG( void ); HB_EXTERN_END diff --git a/harbour/contrib/hbqt/qtcore/hbqt_pointer.cpp b/harbour/contrib/hbqt/qtcore/hbqt_pointer.cpp index 720b1050c3..fb424f14b0 100644 --- a/harbour/contrib/hbqt/qtcore/hbqt_pointer.cpp +++ b/harbour/contrib/hbqt/qtcore/hbqt_pointer.cpp @@ -54,8 +54,8 @@ #include "hbqt.h" #include "hbapiitm.h" -#include "hbvm.h" #include "hbapierr.h" +#include "hbvm.h" #if QT_VERSION >= 0x040500 @@ -221,6 +221,11 @@ HB_FUNC( __HBQT_PTR ) hb_itemReturn( pParam ); } +void hbqt_errRT_ARG( void ) +{ + hb_errRT_BASE( EG_ARG, 9999, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS ); +} + void * hbqt_detachgcpointer( int iParam ) { HBQT_GC_T * p;