quakeforge/ruamoko/qwaq/debugger/localsview.h
Bill Currie 8a7fbdfc9f [qwaq] Rework allocation to use retain/release
It currently dies when single stepping or exiting due to EditBuffer's
retain count not getting incremented when initialized. This is because
EditBuffer is initialized in C and thus does not call Object's -init.
2020-03-30 16:58:36 +09:00

23 lines
518 B
Objective-C

#ifndef __qwaq_debugger_localsview_h
#define __qwaq_debugger_localsview_h
#include <types.h>
#include "ui/view.h"
#include "debugger/debug.h"
@interface LocalsView : View
{
qdb_target_t target;
qfot_type_encodings_t target_encodings;
unsigned current_fnum;
qdb_function_t *func;
qdb_auxfunction_t *aux_func;
qdb_def_t *defs;
void *data;
}
+(LocalsView *)withRect:(Rect)rect target:(qdb_target_t)target;
-initWithRect:(Rect)rect target:(qdb_target_t)target;
-setFunction:(unsigned)fnum;
@end
#endif