Files
five/_FiveSql2/bin/.hbmk/linux/gcc/FiveSqlCls.c
Charles KWON OhJun 486e466592 feat: FiveSql2 43/43, @byref, mutable closure, RTL 479, DateTime fix
Major changes since last commit:
- FiveSql2 SQL:1999 engine (10,458 LOC) — 43/43 ALL PASS
- 21 compiler/runtime bugs fixed (short-circuit AND/OR, FOR LOOP, etc.)
- @byref pass-by-reference via RefCell pattern
- Mutable closure capture (EnsureLocalRef + RefCell sharing)
- RTL: 400 → 479 functions (+79: file, string, datetime, hash, UTF-8)
- DateTime/Timestamp fully working (hb_DateTime, hb_Hour/Min/Sec, display)
- Reserved word guard (39 keywords blocked from function calls)
- AEval arg order fix (element before index)
- Closure capture redecl fix (unique _cap_ names per block)
- Hash/string indexing in ArrayPush/ArrayPop
- Harbour compat test suite: 51/51
- 4 docs: Porting Report, Implementation Plan, Optimization Plan, Commercialization

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 11:35:37 +09:00

41 lines
1.0 KiB
C

/*
* Harbour 3.2.0dev (r2510040809)
* GNU C 13.3 (64-bit)
* Generated C source from "src/FiveSqlCls.prg"
*/
#include "hbvmpub.h"
#include "hbinit.h"
HB_FUNC( FIVE_SQL );
HB_FUNC_EXTERN( TFIVESQL );
HB_INIT_SYMBOLS_BEGIN( hb_vm_SymbolInit_FIVESQLCLS )
{ "FIVE_SQL", {HB_FS_PUBLIC | HB_FS_FIRST | HB_FS_LOCAL}, {HB_FUNCNAME( FIVE_SQL )}, NULL },
{ "NEW", {HB_FS_PUBLIC | HB_FS_MESSAGE}, {NULL}, NULL },
{ "TFIVESQL", {HB_FS_PUBLIC}, {HB_FUNCNAME( TFIVESQL )}, NULL },
{ "EXECUTE", {HB_FS_PUBLIC | HB_FS_MESSAGE}, {NULL}, NULL }
HB_INIT_SYMBOLS_EX_END( hb_vm_SymbolInit_FIVESQLCLS, "src/FiveSqlCls.prg", 0x0, 0x0003 )
#if defined( HB_PRAGMA_STARTUP )
#pragma startup hb_vm_SymbolInit_FIVESQLCLS
#elif defined( HB_DATASEG_STARTUP )
#define HB_DATASEG_BODY HB_DATASEG_FUNC( hb_vm_SymbolInit_FIVESQLCLS )
#include "hbiniseg.h"
#endif
HB_FUNC( FIVE_SQL )
{
static const HB_BYTE pcode[] =
{
13,1,2,36,23,0,48,1,0,176,2,0,12,0,
95,2,112,1,80,3,36,25,0,48,3,0,95,3,
95,1,112,1,110,7
};
hb_vmExecute( pcode, symbols );
}