mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 22:52:21 +00:00
3498d8b2ae
This treats dictionary items as arrays ordered by key creation (ie, the order of the key/value pairs in the dictionary is preserved). The label is written to the specified field when parsing the struct. Both actual arrays and single element "arrays" are supported.
27 lines
524 B
Objective-C
27 lines
524 B
Objective-C
#ifndef __renderer_vulkan_vkgen_vkstruct_h
|
|
#define __renderer_vulkan_vkgen_vkstruct_h
|
|
|
|
#include <Object.h>
|
|
|
|
#include "vkgen.h"
|
|
#include "vktype.h"
|
|
|
|
@class PLItem;
|
|
|
|
@interface Struct: Type
|
|
{
|
|
string outname;
|
|
string label_field;
|
|
int write_symtab;
|
|
}
|
|
-(void) queueFieldTypes;
|
|
-(qfot_var_t *)findField:(string) fieldName;
|
|
-(void) setLabelField:(string) label_field;
|
|
-(void) writeForward;
|
|
-(void) writeTable;
|
|
-(void) writeSymtabInit;
|
|
-(void) writeSymtabEntry;
|
|
-(string) outname;
|
|
@end
|
|
|
|
#endif//__renderer_vulkan_vkgen_vkstruct_h
|