2000-12-14 17:00 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/vm/eval.c
* Removed unneeded hb_stackItemFromBase(1), reverted to use pItem obtained by hb_param()
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2000-12-14 17:00 UTC+0800 Ron Pinkas <ron@profit-master.com>
|
||||
* source/vm/eval.c
|
||||
* Removed unneeded hb_stackItemFromBase(1), reverted to use pItem obtained by hb_param()
|
||||
|
||||
2000-12-13 22:04 GMT+1 Maurilio Longo <maurilio.longo@libero.it>
|
||||
* source/vm/estack.c
|
||||
+ added missing semicolons (lines 374 and 416)
|
||||
|
||||
@@ -47,15 +47,9 @@ HB_FUNC( EVAL )
|
||||
{
|
||||
USHORT uiPCount = hb_pcount();
|
||||
USHORT uiParam;
|
||||
PHB_ITEM pBlock = hb_stackItemFromBase( 1 );
|
||||
|
||||
if( HB_IS_BYREF( pBlock ) )
|
||||
{
|
||||
pBlock = hb_itemUnRef( pBlock );
|
||||
}
|
||||
|
||||
hb_vmPushSymbol( &hb_symEval );
|
||||
hb_vmPush( pBlock );
|
||||
hb_vmPush( pItem );
|
||||
/* NOTE: hb_param() function cannot be used for parameter access
|
||||
* because we need to pass the references too.
|
||||
* hb_param() is dereferencing the passed parameters
|
||||
|
||||
Reference in New Issue
Block a user