2025-07-09 15:04 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* include/hbclass.ch
! fixed class declaration to allow muliple PP run - thanks to Wen Sheng
for slef conatin example
This commit is contained in:
@@ -241,7 +241,7 @@ DECLARE HBClass ;
|
||||
IF s_oClass == NIL .AND. __clsLockDef( @s_oClass ) ;;
|
||||
BEGIN SEQUENCE ;;
|
||||
nScope := HB_OO_CLSTP_EXPORTED ; HB_SYMBOL_UNUSED( nScope ) ;;
|
||||
oClass := iif( <.metaClass.>, <(metaClass)>, HBClass():new( <(ClassName)>, __HB_CLS_PAR( [ @<SuperClass1>() ] [ , @<SuperClassN>() ] ), @__HB_CLS_OPT([__HB_CLS_ASID(<FuncName>),] <ClassName>)() [, <.modulfriend.> ] ) ) ;;
|
||||
oClass := iif( <.metaClass.>, <(metaClass)>, HBClass():new( <(ClassName)>, __HB_CLS_PAR( [ @<SuperClass1>() ] [ , @<SuperClassN>() ] ), @__HB_CLS_OPT([__HB_CLS_ASID(<FuncName>),] <ClassName>)() [, <.modulfriend.> ] ) ) ;;;
|
||||
#undef _CLASS_NAME_ ; #define _CLASS_NAME_ <ClassName> ;;
|
||||
#undef _CLASS_MODE_ ; #define _CLASS_MODE_ _CLASS_DECLARATION_
|
||||
|
||||
|
||||
Reference in New Issue
Block a user