0
0
Fork 0
mirror of https://git.code.sf.net/p/quake/quakeforge synced 2025-03-22 18:31:27 +00:00

[gamecode] Move debug even enum to pr_debug.h

This commit is contained in:
Bill Currie 2020-04-02 10:39:12 +09:00
parent 118fba8df5
commit c920c746f3
2 changed files with 14 additions and 12 deletions

View file

@ -31,6 +31,7 @@
#ifndef __QF_pr_debug_h
#define __QF_pr_debug_h
#ifndef __QFCC__
#include "QF/pr_comp.h"
typedef struct pr_auxfunction_s {
@ -63,5 +64,18 @@ typedef struct pr_debug_header_s {
pr_uint_t locals;
pr_uint_t num_locals;
} pr_debug_header_t;
#endif
typedef enum prdebug_e {
prd_none,
prd_trace,
prd_breakpoint,
prd_watchpoint,
prd_subenter,
prd_subexit, // current invocation of PR_ExecuteProgram finished
prd_terminate, // not sent by VM
prd_runerror,
prd_error, // lower level error thann prd_runerror
} prdebug_t;
#endif//__QF_pr_debug_h

View file

@ -1725,18 +1725,6 @@ typedef struct {
strref_t *tstr; ///< Linked list of temporary strings.
} prstack_t;
typedef enum {
prd_none,
prd_trace,
prd_breakpoint,
prd_watchpoint,
prd_subenter,
prd_subexit, // current invocation of PR_ExecuteProgram finished
prd_terminate, // not sent by VM
prd_runerror,
prd_error, // lower level error thann prd_runerror
} prdebug_t;
struct progs_s {
int (*parse_field) (progs_t *pr, const char *key, const char *value);