diff options
author | daniel <danieruru@gmail.com> | 2013-01-11 19:13:47 +0900 |
---|---|---|
committer | daniel <danieruru@gmail.com> | 2013-01-11 19:13:47 +0900 |
commit | ee9fe4fa6339dc1e49a4d484f9f03d4091c6aa90 (patch) | |
tree | c9aa3f25c7fadc0b6f9620673a55e31113403d3d /libvxi11client/perlglue.c | |
parent | 7d4fa5278ace3dd96dda1bf4da75d617fd3e2795 (diff) |
most of it seems to work in perl now
Diffstat (limited to 'libvxi11client/perlglue.c')
-rw-r--r-- | libvxi11client/perlglue.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libvxi11client/perlglue.c b/libvxi11client/perlglue.c index 937b9e4..697a480 100644 --- a/libvxi11client/perlglue.c +++ b/libvxi11client/perlglue.c @@ -2,6 +2,12 @@ #include "libvxi11client.h" #include <stdbool.h> +#define INTERRUPTHANDLE "libvxi11client" + +static void interruptcallback(void) { + +} + int vopen(char* address, char* device) { return vxi11_open(address, device); } @@ -54,7 +60,8 @@ int vdestroy_intr_chan(void) { return vxi11_destroy_intr_chan(); } -int venable_srq(bool enable, char* handle) { +int venable_srq(bool enable) { + return vxi11_enable_srq(enable, INTERRUPTHANDLE, interruptcallback); } int vdocmd(unsigned long cmd, bool waitforlock) { |