might as well return the result of the main in the progs
This commit is contained in:
parent
e349ed3013
commit
bddf7069a2
|
@ -92,5 +92,5 @@ main ()
|
|||
read_result = (float*)PR_GetGlobalPointer (&progs, "read_result");
|
||||
main_func = PR_GetFunctionIndex (&progs, "main");
|
||||
PR_ExecuteProgram (&progs, main_func);
|
||||
return 0;
|
||||
return G_FLOAT (&progs, OFS_RETURN);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue