c_src: regenerate
[nit.git] / c_src / core__exec._ffi.h
1 /*
2 Extern implementation of Nit module exec
3 */
4 #ifndef CORE__EXEC_NIT_H
5 #define CORE__EXEC_NIT_H
6
7 #include <stdint.h>
8 #include "core__exec._nitni.h"
9 #line 29 "../lib/core/exec.nit"
10
11
12 #include <sys/types.h>
13
14 // FIXME this should be in the "C" block when bug on module blocks is fixed
15 // or, even better, replace the C structure by a Nit object.
16 typedef struct se_exec_data se_exec_data_t;
17 struct se_exec_data {
18 pid_t id;
19 int running;
20 int status;
21 int in_fd;
22 int out_fd;
23 int err_fd;
24 };
25 #include "core__math._ffi.h"
26 #include "core__time._ffi.h"
27 #include "core__file._ffi.h"
28 #endif