]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
loader: separate lang init from scripting init
authorWarner Losh <imp@FreeBSD.org>
Sun, 19 May 2024 17:48:14 +0000 (11:48 -0600)
committerWarner Losh <imp@FreeBSD.org>
Mon, 20 May 2024 04:05:40 +0000 (22:05 -0600)
commit68344c9c6c69fc604b402eee420285356f7a677f
treed6348e0406b759e61d4a6f2b7bbfb5ee7db8a74b
parent1d7bdae9ca3ca821e93386d85e87de491471cad7
loader: separate lang init from scripting init

Create interp_preinit() to initialize the scripting language to run
scripts. Make sure you can call it multiple times, but only the first
one has effect, After it's call, you can run scripts in the scripting
language. At the moment, no functional change.

Sponsored by: Netflix
stand/common/bootstrap.h
stand/common/interp.c
stand/common/interp_forth.c
stand/common/interp_lua.c
stand/common/interp_simple.c