(svn r15535) -Fix (r15460, pre noai merge): use '.' as 'any' for squirrel calls typechecking as stated in squirrel docs

This commit is contained in:
glx
2009-02-21 00:43:18 +00:00
parent 15789a76c1
commit ab3fc1d437
31 changed files with 404 additions and 404 deletions

View File

@@ -17,11 +17,11 @@ void SQAIDate_Register(Squirrel *engine) {
SQAIDate.PreRegister(engine);
SQAIDate.AddConstructor<void (AIDate::*)(), 1>(engine, "x");
SQAIDate.DefSQStaticMethod(engine, &AIDate::GetCurrentDate, "GetCurrentDate", 1, "?");
SQAIDate.DefSQStaticMethod(engine, &AIDate::GetYear, "GetYear", 2, "?i");
SQAIDate.DefSQStaticMethod(engine, &AIDate::GetMonth, "GetMonth", 2, "?i");
SQAIDate.DefSQStaticMethod(engine, &AIDate::GetDayOfMonth, "GetDayOfMonth", 2, "?i");
SQAIDate.DefSQStaticMethod(engine, &AIDate::GetDate, "GetDate", 4, "?iii");
SQAIDate.DefSQStaticMethod(engine, &AIDate::GetCurrentDate, "GetCurrentDate", 1, ".");
SQAIDate.DefSQStaticMethod(engine, &AIDate::GetYear, "GetYear", 2, ".i");
SQAIDate.DefSQStaticMethod(engine, &AIDate::GetMonth, "GetMonth", 2, ".i");
SQAIDate.DefSQStaticMethod(engine, &AIDate::GetDayOfMonth, "GetDayOfMonth", 2, ".i");
SQAIDate.DefSQStaticMethod(engine, &AIDate::GetDate, "GetDate", 4, ".iii");
SQAIDate.PostRegister(engine);
}