projects
/
mate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scratch: sync sketch code for FFI,Signal...
[mate.git]
/
scratch
/
ffiTest
/
prototypes.h
diff --git a/scratch/ffiTest/prototypes.h
b/scratch/ffiTest/prototypes.h
new file mode 100644
(file)
index 0000000..
55b7903
--- /dev/null
+++ b/
scratch/ffiTest/prototypes.h
@@ -0,0
+1,8
@@
+extern void registerSignalHandlers(void);
+extern void mateTrapHandler(unsigned int signal,
+ siginfo_t *sigInfo,
+ void *ctx,
+ unsigned int eip);
+
+
+extern void registerSignalHandlers2(void (*f)(int, siginfo_t*,void*));