Rename "union" semantics to "typeset".

This commit is contained in:
David Anderson
2014-12-09 22:36:42 -08:00
parent 8a8917ba2e
commit 9c98edd104
8 changed files with 13 additions and 12 deletions
+1 -1
View File
@@ -445,7 +445,7 @@ native void GetConVarName(Handle convar, char[] name, maxlength);
*/
native bool SendConVarValue(int client, Handle convar, const char[] value);
union ConVarQueryFinished
typeset ConVarQueryFinished
{
// Called when a query to retrieve a client's console variable has finished.
//
+2 -2
View File
@@ -48,7 +48,7 @@ enum EventHookMode
/**
* Hook function types for events.
*/
union EventHook
typeset EventHook
{
/**
* Called when a game event is fired.
@@ -273,4 +273,4 @@ methodmap Event < Handle {
public SetString() = SetEventString;
public GetName() = GetEventName;
public SetBroadcast() = SetEventBroadcast;
}
}
+1 -1
View File
@@ -110,7 +110,7 @@ enum RayType
RayType_Infinite /**< The trace ray will go from the start position to infinity using a direction vector. */
};
union TraceEntityFilter
typeset TraceEntityFilter
{
/**
* Called on entity filtering.
+1 -1
View File
@@ -123,7 +123,7 @@ native SortCustom1D(array[], array_size, SortFunc1D:sortfunc, Handle:hndl=INVALI
* 0 if first is equal to second
* 1 if first should go after second
*/
union SortFunc2D
typeset SortFunc2D
{
function int (int[] elem1, int[] elem2, const int[][] array, Handle hndl);
function int (char[] elem1, char[] elem2, const char[][] array, Handle hndl);
+1 -1
View File
@@ -45,7 +45,7 @@
/**
* Any of the following prototypes will work for a timed function.
*/
union Timer
typeset Timer
{
/**
* Called when the timer interval has elapsed.