quakeforge/libs/video/renderer/vulkan/vkgen/vkgen.h
Bill Currie 403c6eea73 [vkgen] Recognize char * as a string
Ruamoko currently doesn't support `const`, so that's not relevant, but
recognizing `char *` (via a hack to work around what looks like a bug
with type aliasing) allows strings to be handled without having to use a
custom parser. Things are still a little clunky for custom parsers, but
this seems to be a good start.
2023-02-14 15:10:09 +09:00

22 lines
536 B
C

#ifndef __renderer_vulkan_vkgen_vkgen_h
#define __renderer_vulkan_vkgen_vkgen_h
#include <hash.h>
#include <qfile.h>
#include <types.h>
#include <Array.h>
#include <PropertyList.h>
typedef void varfunc (qfot_var_t *var);
void printf (string fmt, ...);
void fprintf (QFile file, string format, ...);
extern Array *queue;
extern Array *output_types;
extern PLItem *parse;
extern QFile output_file;
extern QFile header_file;
extern hashtab_t *processed_types;
extern hashtab_t *available_types;
#endif//__renderer_vulkan_vkgen_vkgen_h