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()
This commit is contained in:
Przemyslaw Czerpak
2006-06-20 12:51:16 +00:00
parent 96229354ab
commit ee780cf997
3 changed files with 8 additions and 3 deletions

View File

@@ -8,6 +8,11 @@
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
* 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)

View File

@@ -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

View File

@@ -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 );