History

libtcc: add missing tcc_enable_debug()

Nicolas Limare committed 15 years ago

Commit 5f99fe21 parent 2dd3fb11 file · +6 −0Browse files

Unified · Split

libtcc.c+6−0
@@ -1379,6 +1379,12 @@ ST_FUNC int set_flag(TCCState *s, const FlagDef *flags, int nb_flags, · 1378 unmodified lines
1379 return 0;1379 return 0;
1380}1380}
1381 1381
1382/* enable debug */
1383LIBTCCAPI void tcc_enable_debug(TCCState *s)
1384{
1385 s->do_debug = 1;
1386}
1387
1382/* set/reset a warning */1388/* set/reset a warning */
1383LIBTCCAPI int tcc_set_warning(TCCState *s, const char *warning_name, int value)1389LIBTCCAPI int tcc_set_warning(TCCState *s, const char *warning_name, int value)
1384{1390{

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t