mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-11 05:11:16 +00:00
29 lines
381 B
R
29 lines
381 B
R
|
#include <string.h>
|
||
|
|
||
|
#include "vkfieldstring.h"
|
||
|
#include "vkstring.h"
|
||
|
#include "vkgen.h"
|
||
|
|
||
|
@implementation String
|
||
|
|
||
|
-(string) name
|
||
|
{
|
||
|
return "string";
|
||
|
}
|
||
|
|
||
|
-(FieldDef *)fielddef:(Struct *)strct field:(string)fname
|
||
|
{
|
||
|
return [StringField fielddef:nil struct:strct field:fname];
|
||
|
}
|
||
|
|
||
|
-(string) cexprType
|
||
|
{
|
||
|
return [self name] + "_type";
|
||
|
}
|
||
|
|
||
|
-(string) parseType
|
||
|
{
|
||
|
return "QFString";
|
||
|
}
|
||
|
@end
|