Kiwi Script
KiwiScript Interpreter
 All Data Structures Files Functions Variables Typedefs Enumerations Macros
Functions
KSType.h File Reference

IR for data type. More...

#include <KiwiEngine/KiwiEngine.h>

Go to the source code of this file.

Functions

void KSSetupTypes (struct CNResource *resource)
 Setup resources for type.
 
struct KEFrame * KSAllocateType (struct CNString *name, struct CNResource *resource)
 Allocate IR for type. More...
 
struct CNString * KSTypeName (struct KEFrame *src)
 Get name of type. More...
 

Detailed Description

IR for data type.

Copyright
Copyright (C) 2014 Steel Wheels Project

Function Documentation

struct KEFrame* KSAllocateType ( struct CNString *  name,
struct CNResource *  resource 
)

Allocate IR for type.

Returns
Allocated type
Parameters
nameType name
resourceResource to allocate the type object
struct CNString* KSTypeName ( struct KEFrame *  src)

Get name of type.

Returns
Name of type
Parameters
srcSource type object