[Gambas-user] Gambas and internal functions

Benoît Minisini gambas at ...1...
Thu Jul 14 16:43:23 CEST 2011


> hi,
> 
> when i call a gambas function that is not in any component, e.g. Abs(),
> what is called internally? i'm currently studying the interpreter
> internals but didn't come far enough yet to figure that out by myself (i
> focused on the gambas api first). may it be these "subr" files? is there
> a central structure like GB to collect them?
> 
> regards,
> tobi
> 

Native functions are implemented in subr_*.c files. These functions are called 
directly from the main interpreter bytecode dispatch loop located in 
exec_loop.c

Regards,

-- 
Benoît Minisini




More information about the User mailing list