From ee780cf9971af55fe9c269f9304aac4e38be1795 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Tue, 20 Jun 2006 12:51:16 +0000 Subject: [PATCH] 2006-06-20 14:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicls.h * harbour/source/vm/classes.c ! fixed typo in function name should be hb_objHasMessage() --- harbour/ChangeLog | 5 +++++ harbour/include/hbapicls.h | 2 +- harbour/source/vm/classes.c | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 57a50ef4d4..364eb8bb35 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,11 @@ 2002-12-01 13:30 UTC+0100 Foo Bar */ + * always try to allocate console + + added workaround for MSYS console which does not support + WriteConsoleOutput()/ReadConsoleInput() + + * harbour/source/rtl/gtwvt/gtwvt.c * changed default codepage to OEM 2006-06-20 17:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) diff --git a/harbour/include/hbapicls.h b/harbour/include/hbapicls.h index 3cbde9d765..5c170df104 100644 --- a/harbour/include/hbapicls.h +++ b/harbour/include/hbapicls.h @@ -107,7 +107,7 @@ extern char * hb_objGetClsName( PHB_ITEM pObject ); /* retrieves an object extern char * hb_objGetRealClsName( PHB_ITEM pObject, char * szString ); /* retrieves an object class name for a specific message */ extern BOOL hb_objHasMsg( PHB_ITEM pObject, char * szString ); /* returns TRUE/FALSE whether szString is an existing message for object */ -extern BOOL hb_objHasMesage( PHB_ITEM pObject, PHB_DYNS pMessage ); +extern BOOL hb_objHasMessage( PHB_ITEM pObject, PHB_DYNS pMessage ); extern void hb_objSendMsg( PHB_ITEM pObj, char *sMsg, ULONG ulArg, ... ); #ifndef HB_NO_PROFILER diff --git a/harbour/source/vm/classes.c b/harbour/source/vm/classes.c index c58bcbf8c9..0fd00f94fc 100644 --- a/harbour/source/vm/classes.c +++ b/harbour/source/vm/classes.c @@ -955,7 +955,7 @@ PHB_SYMB hb_objGetMethod( PHB_ITEM pObject, PHB_SYMB pMessage, BOOL * pfPopSuper /* * return TRUE if object has a given message */ -BOOL hb_objHasMesage( PHB_ITEM pObject, PHB_DYNS pMessage ) +BOOL hb_objHasMessage( PHB_ITEM pObject, PHB_DYNS pMessage ) { return hb_objGetMethod( pObject, pMessage->pSymbol, NULL ) != NULL; } @@ -963,7 +963,7 @@ BOOL hb_objHasMesage( PHB_ITEM pObject, PHB_DYNS pMessage ) /* * This function is only for backward binary compatibility * It will be removed in the future so please do not use it. - * Use hb_objHasMesage() instead. + * Use hb_objHasMessage() instead. */ #if defined(__cplusplus) extern "C" BOOL hb_objGetpMethod( PHB_ITEM pObject, PHB_SYMB pMessage );