might as well return the result of the main in the progs

This commit is contained in:
Bill Currie 2001-06-06 21:30:58 +00:00
parent e349ed3013
commit bddf7069a2

View file

@ -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);
}