TCC.State – tcc Reference Manual
State
Object Hierarchy:
TCC.State
TCC.State
TCC.State
Description:
[
Compact
]
[
CCode
( cprefix =
"tcc_"
, free_function =
"tcc_delete"
) ]
public
class
State
Namespace:
TCC
Package:
tcc
Content:
Creation methods:
public
State
()
Methods:
public
int
add_file
(
string
filename)
public
int
add_include_path
(
string
pathname)
public
int
add_library
(
string
libraryname)
public
int
add_library_path
(
string
pathname)
public
int
add_symbol
(
string
name,
void
* val)
public
int
add_sysinclude_path
(
string
pathname)
public
int
compile_string
(
string
buf)
public
void
define_symbol
(
string
sym,
string
val)
public
void
enable_debug
()
public
void
*
get_symbol
(
string
name)
public
int
output_file
(
string
filename)
public
int
relocate
(
void
* ptr)
public
int
run
(
string
[]? argv)
public
void
set_error_func
(
ErrorFunction
error_func)
public
void
set_lib_path
(
string
path)
public
int
set_output_type
(
OutputType
type)
public
void
undefine_symbol
(
string
sym)
2022 vala-language.org