mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-06 21:20:07 +00:00
ea3895805b
That which isn't rewritten is horribly broken. However, this does include a nice mechanism for building QC structs for emitting data. emit.c has been gutted in the spirit of "throw one away". There is much work to be done to get even variables emitted, let alone code. Things should be a little more fun from here on.
38 lines
1.2 KiB
C
38 lines
1.2 KiB
C
#ifdef HAVE_CONFIG_H
|
|
# include "config.h"
|
|
#endif
|
|
|
|
#include "class.h"
|
|
#include "codespace.h"
|
|
#include "debug.h"
|
|
#include "def.h"
|
|
#include "defspace.h"
|
|
#include "emit.h"
|
|
#include "function.h"
|
|
#include "immediate.h"
|
|
#include "obj_file.h"
|
|
#include "options.h"
|
|
#include "qfcc.h"
|
|
#include "strpool.h"
|
|
#include "type.h"
|
|
|
|
struct dstring_s;
|
|
options_t options;
|
|
int num_linenos;
|
|
pr_lineno_t *linenos;
|
|
pr_info_t pr;
|
|
defspace_t *new_defspace (void) {return 0;}
|
|
scope_t *new_scope (scope_type type, defspace_t *space, scope_t *parent) {return 0;}
|
|
string_t ReuseString (const char *str) {return 0;}
|
|
void encode_type (struct dstring_s *str, type_t *type) {}
|
|
codespace_t *codespace_new (void) {return 0;}
|
|
void codespace_addcode (codespace_t *codespace, struct statement_s *code, int size) {}
|
|
type_t *parse_type (const char *str) {return 0;}
|
|
int function_parms (function_t *f, byte *parm_size) {return 0;}
|
|
pr_auxfunction_t *new_auxfunction (void) {return 0;}
|
|
ddef_t *new_local (void) {return 0;}
|
|
void def_to_ddef (def_t *def, ddef_t *ddef, int aux) {}
|
|
int strpool_addstr (strpool_t *strpool, const char *str) {return 0;}
|
|
strpool_t *strpool_new (void) {return 0;}
|
|
void strpool_delete (strpool_t *strpool) {}
|
|
strpool_t *strpool_build (const char *strings, int size) {return 0;}
|