mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 02:17:36 +08:00
more
This commit is contained in:
@@ -52,6 +52,12 @@ SQInteger hello1(HSQUIRRELVM v) {
|
||||
sq_getstring(v,n,&i);
|
||||
printf("\"%s\" ",(const char*)i);
|
||||
} break;
|
||||
case OT_CLOSURE: {
|
||||
printf("(closure) ");
|
||||
} break;
|
||||
case OT_NATIVECLOSURE: {
|
||||
printf("(native closure) ");
|
||||
} break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
|
@@ -35,3 +35,5 @@ hello1(23.44);
|
||||
hello1("Hello world");
|
||||
hello1(1,2,3,4);
|
||||
hello1(1,2.3,"4");
|
||||
hello1(hello1);
|
||||
|
||||
|
Reference in New Issue
Block a user