2025-12-15 11:10 UTC+0100 Aleksander Czajczynski (hb fki.pl)
* src/vm/runner.c
! fix indentation
! previous change was not backwards compatible with hb_hrbLoad()
stealing character argument, that would be otherwise passed
to INIT PROCEDURE's in .hrb file
* src/include/hb_hrb.ch
+ add HB_HRB_ARG_PRGNAME definition
use to pass "virtual" script.prg filename as third parameter
hb_hrbLoad( HB_HRB_ARG_PRGNAME + <nOptions>, cPCode, cFileName )
This commit is contained in:
@@ -71,6 +71,11 @@
|
||||
with unresolved or cross function
|
||||
references */
|
||||
|
||||
#define HB_HRB_ARG_PRGNAME 0x10 /* first <xparams> argument of
|
||||
is "virtual" script.prg filename
|
||||
hb_hrbLoad( [ <nOptions>, ]
|
||||
<cHrb>
|
||||
[, <xparams,...> ] ) */
|
||||
|
||||
#define HB_HRB_FUNC_PUBLIC 0x1 /* locally defined public functions */
|
||||
#define HB_HRB_FUNC_STATIC 0x2 /* locally defined static functions */
|
||||
|
||||
Reference in New Issue
Block a user