2015-02-10 13:03 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* contrib/xhb/xhberr.prg
  * contrib/xhb/xhb.hbx
    - removed __BreakBlock() function. The Harbour core implementation
      of __BreakBlock() function fully replaces it and is more efficient
      because it does not create new codeblock on each call.
This commit is contained in:
Przemysław Czerpak
2015-02-10 13:03:24 +01:00
parent 725384ada6
commit c44831d3af
3 changed files with 8 additions and 6 deletions

View File

@@ -10,6 +10,13 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2015-02-10 13:03 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/xhb/xhberr.prg
* contrib/xhb/xhb.hbx
- removed __BreakBlock() function. The Harbour core implementation
of __BreakBlock() function fully replaces it and is more efficient
because it does not create new codeblock on each call.
2015-02-09 09:23 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* include/hbexpra.c
* allow to use __BreakBlock() function as static initializer

View File

@@ -478,7 +478,6 @@ DYNAMIC _Character
DYNAMIC _Hash
DYNAMIC _Numeric
DYNAMIC __ActiveStructure
DYNAMIC __BreakBlock
DYNAMIC __CStr_CopyTo
DYNAMIC __ErrorBlock
DYNAMIC __init_LONGLONGs

View File

@@ -1,7 +1,7 @@
/*
* Harbour Project source code:
* xHarbour default error handler and error functions:
* xhb_ErrorSys(), __BreakBlock(), __ErrorBlock(),
* xhb_ErrorSys(), __ErrorBlock(),
* __MinimalErrorHandler(), xhb_ErrorNew()
*
* Copyright 2010 Przemyslaw Czerpak <druzus / at / priv.onet.pl>
@@ -646,10 +646,6 @@ STATIC FUNCTION Arguments( oErr )
RETURN cArguments
FUNCTION __BreakBlock()
RETURN {| e | Break( e ) }
FUNCTION __ErrorBlock()
RETURN {| e | __MinimalErrorHandler( e ) }