Fixed references to LibraryInit
git-svn-id: http://picoc.googlecode.com/svn/trunk@539 21eae674-98b7-11dd-bd71-f92a316d2d60
This commit is contained in:
parent
7d99861752
commit
704238f926
|
@ -8,6 +8,6 @@ struct LibraryFunction PlatformLibrary[] =
|
||||||
|
|
||||||
void PlatformLibraryInit()
|
void PlatformLibraryInit()
|
||||||
{
|
{
|
||||||
LibraryInit(&GlobalTable, "platform library", &PlatformLibrary);
|
LibraryAdd(&GlobalTable, "platform library", &PlatformLibrary);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ void PlatformLibraryInit()
|
||||||
VariableDefinePlatformVar(NULL, "cxmax", &IntType, (union AnyValue *)&Cxmax, FALSE);
|
VariableDefinePlatformVar(NULL, "cxmax", &IntType, (union AnyValue *)&Cxmax, FALSE);
|
||||||
VariableDefinePlatformVar(NULL, "cymin", &IntType, (union AnyValue *)&Cymin, FALSE);
|
VariableDefinePlatformVar(NULL, "cymin", &IntType, (union AnyValue *)&Cymin, FALSE);
|
||||||
VariableDefinePlatformVar(NULL, "cymax", &IntType, (union AnyValue *)&Cymax, FALSE);
|
VariableDefinePlatformVar(NULL, "cymax", &IntType, (union AnyValue *)&Cymax, FALSE);
|
||||||
LibraryInit(&GlobalTable, "platform library", &PlatformLibrary[0]);
|
LibraryAdd(&GlobalTable, "platform library", &PlatformLibrary[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Csignal(struct ParseState *Parser, struct Value *ReturnValue, struct Value **Param, int NumArgs) // check for kbhit, return t or nil
|
void Csignal(struct ParseState *Parser, struct Value *ReturnValue, struct Value **Param, int NumArgs) // check for kbhit, return t or nil
|
||||||
|
|
Loading…
Reference in a new issue