Show More
Commit Description:
added box for windows
Commit Description:
added box for windows
References:
File last commit:
Show/Diff file:
Action:
std-script/box-win/execute.h
| 25 lines
| 471 B
| text/x-c
| ObjectiveCLexer
|
|
r98 | /* | ||
This sandbox module is from [Fossil | ||||
grader](http://code.google.com/p/fossil-grader/). | ||||
The code is a modification from an unknown source on the internet. | ||||
*/ | ||||
#ifndef EXECUTE_H_INCLUDED | ||||
#define EXECUTE_H_INCLUDED | ||||
#define EXE_RESULT_OK 0 | ||||
#define EXE_RESULT_TIMEOUT 1 | ||||
#define EXE_RESULT_MEMORY 2 | ||||
#ifdef __cplusplus | ||||
extern "C" { | ||||
#endif | ||||
int execute(char *exname, char *inname, char *outname, double t, int max_mem=0); | ||||
#ifdef __cplusplus | ||||
} | ||||
#endif | ||||
#endif | ||||