Map<K,V> and MapIterator<K,V> for ZScript
This commit is contained in:
parent
1e5e65546d
commit
8b6a714d41
23 changed files with 2354 additions and 28 deletions
|
|
@ -117,6 +117,7 @@ xx(Double)
|
|||
xx(String)
|
||||
xx(Vector)
|
||||
xx(Map)
|
||||
xx(MapIterator)
|
||||
xx(Array)
|
||||
xx(Include)
|
||||
xx(Sound)
|
||||
|
|
@ -162,6 +163,14 @@ xx(ToVector)
|
|||
xx(Size)
|
||||
xx(Push)
|
||||
xx(Insert)
|
||||
xx(InsertNew)
|
||||
xx(Remove)
|
||||
xx(Get)
|
||||
xx(GetValue)
|
||||
xx(GetKey)
|
||||
xx(SetValue)
|
||||
xx(CheckKey)
|
||||
xx(Value)
|
||||
xx(Copy)
|
||||
xx(Move)
|
||||
xx(Voidptr)
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ int Printf (const char *format, ...) ATTRIBUTE((format(printf,1,2)));
|
|||
int DPrintf (int level, const char *format, ...) ATTRIBUTE((format(printf,2,3)));
|
||||
|
||||
void I_DebugPrint(const char* cp);
|
||||
void debugprintf(const char* f, ...); // Prints to the debugger's log.
|
||||
void I_DebugPrintf(const char* fmt, ...); // Prints to the debugger's log.
|
||||
|
||||
// flag to silence non-error output
|
||||
extern bool batchrun;
|
||||
|
|
|
|||
|
|
@ -167,6 +167,7 @@ std2:
|
|||
'vector2' { RET(TK_Vector2); }
|
||||
'vector3' { RET(TK_Vector3); }
|
||||
'map' { RET(TK_Map); }
|
||||
'mapiterator' { RET(TK_MapIterator); }
|
||||
'array' { RET(TK_Array); }
|
||||
'in' { RET(TK_In); }
|
||||
'sizeof' { RET(TK_SizeOf); }
|
||||
|
|
|
|||
|
|
@ -128,6 +128,7 @@ xx(TK_Replaces, "'replaces'")
|
|||
xx(TK_Vector2, "'vector2'")
|
||||
xx(TK_Vector3, "'vector3'")
|
||||
xx(TK_Map, "'map'")
|
||||
xx(TK_MapIterator, "'mapiterator'")
|
||||
xx(TK_Array, "'array'")
|
||||
xx(TK_In, "'in'")
|
||||
xx(TK_SizeOf, "'sizeof'")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue