Skip to content

Commit b9f0029

Browse files
Copilotfzipi
andcommitted
Initial plan: update module to work with upstream libinjection
Co-authored-by: fzipi <3012076+fzipi@users.noreply.github.com>
1 parent 1543115 commit b9f0029

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

libinjection/libinjection_error.h

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/**
2+
* LibInjection Project
3+
* BSD License -- see `COPYING.txt` for details
4+
*
5+
* https://github.com/libinjection/libinjection/
6+
*
7+
*/
8+
9+
#ifndef LIBINJECTION_ERROR_H
10+
#define LIBINJECTION_ERROR_H
11+
12+
#ifdef __cplusplus
13+
extern "C" {
14+
#endif
15+
16+
typedef enum injection_result_t {
17+
LIBINJECTION_RESULT_FALSE = 0,
18+
LIBINJECTION_RESULT_TRUE = 1,
19+
LIBINJECTION_RESULT_ERROR = -1
20+
} injection_result_t;
21+
22+
#ifdef __cplusplus
23+
}
24+
#endif
25+
26+
#endif // LIBINJECTION_ERROR_H

0 commit comments

Comments
 (0)