libtcc: add missing tcc_enable_debug()
This commit is contained in:
parent
2dd3fb103e
commit
5f99fe2ff1
1 changed files with 6 additions and 0 deletions
6
libtcc.c
6
libtcc.c
|
@ -1379,6 +1379,12 @@ ST_FUNC int set_flag(TCCState *s, const FlagDef *flags, int nb_flags,
|
|||
return 0;
|
||||
}
|
||||
|
||||
/* enable debug */
|
||||
LIBTCCAPI void tcc_enable_debug(TCCState *s)
|
||||
{
|
||||
s->do_debug = 1;
|
||||
}
|
||||
|
||||
/* set/reset a warning */
|
||||
LIBTCCAPI int tcc_set_warning(TCCState *s, const char *warning_name, int value)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue