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
13791379 return 0;
13801380 }
13811381
1382+/* enable debug */
1383+LIBTCCAPI void tcc_enable_debug(TCCState *s)
1384+{
1385+ s->do_debug = 1;
1386+}
1387+
13821388 /* set/reset a warning */
13831389 LIBTCCAPI int tcc_set_warning(TCCState *s, const char *warning_name, int value)
13841390 {

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