X-Git-Url: http://nitlanguage.org diff --git a/c_src/core__exec._ffi.h b/c_src/core__exec._ffi.h new file mode 100644 index 0000000..c3f2274 --- /dev/null +++ b/c_src/core__exec._ffi.h @@ -0,0 +1,28 @@ +/* + Extern implementation of Nit module exec +*/ +#ifndef CORE__EXEC_NIT_H +#define CORE__EXEC_NIT_H + +#include +#include "core__exec._nitni.h" +#line 29 "../lib/core/exec.nit" + + + #include + + // FIXME this should be in the "C" block when bug on module blocks is fixed + // or, even better, replace the C structure by a Nit object. + typedef struct se_exec_data se_exec_data_t; + struct se_exec_data { + pid_t id; + int running; + int status; + int in_fd; + int out_fd; + int err_fd; + }; +#include "core__math._ffi.h" +#include "core__time._ffi.h" +#include "core__file._ffi.h" +#endif