diff --git a/harbour/ChangeLog b/harbour/ChangeLog index ca50b7f835..eb1645f5ae 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,17 @@ 2002-12-01 13:30 UTC+0100 Foo Bar */ + in some optimization, f.e.: a[ ] += + or directly by: func( @a[ ] ) + if we add passing array elements by reference + Implemented in HVM and PCODE generation, the compiler has to be + modified yet to use them. + * changed last parameter in hb_codeblockGetRef() - I'd like to have + all variables in hb_struRefer structure in one place: hb_itemUnRefOnce() + for easier modifications in the future. + * replaced in hb_struRefer 'itemsbase' with 'array'. + + added hb_arrayGetItemRef() to create references to array elements. + Such reference updates array reference counters. * changed STATICs passed by reference to use new array item references. ! block destructor execution after classy releasing on HVM exit diff --git a/harbour/include/hbclass.ch b/harbour/include/hbclass.ch index d6788c9fc7..87c52159d4 100644 --- a/harbour/include/hbclass.ch +++ b/harbour/include/hbclass.ch @@ -459,6 +459,19 @@ DECLARE HBClass ; s_oClass:AddInline( <(MethodName)>, {|Self [,] | }, HBCLSCHOICE( <.export.>, <.protect.>, <.hidde.> ) + iif( <.ctor.>, HB_OO_CLSTP_CTOR, 0 ),; <.persistent.> ) +#xcommand MESSAGE [ AS ] INLINE [ ] [ ] [] [