add project args & add vc.get_project_args

This commit is contained in:
MihailRis 2026-05-31 21:04:51 +03:00
parent 4565c6a3bd
commit aa5bd51206
5 changed files with 48 additions and 3 deletions

View file

@ -1,5 +1,7 @@
local _vc_headless = __VC_HEADLESS
local _vc_project_args = __VC_PROJECT_ARGS
__VC_HEADLESS = nil
__VC_PROJECT_ARGS = nil
vc = {
is_headless = function()
@ -300,6 +302,8 @@ require "core:internal/extensions/file"
require "core:internal/extensions/table"
require "core:internal/extensions/string"
vc.get_project_args = table.copy(_vc_project_args)
local bytearray = require "core:internal/bytearray"
Bytearray = bytearray.FFIBytearray
Bytearray_as_string = bytearray.FFIBytearray_as_string