diff options
Diffstat (limited to 'libvxi11client/perlbits/Client.xs')
-rw-r--r-- | libvxi11client/perlbits/Client.xs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libvxi11client/perlbits/Client.xs b/libvxi11client/perlbits/Client.xs index d8008dd..d471fda 100644 --- a/libvxi11client/perlbits/Client.xs +++ b/libvxi11client/perlbits/Client.xs @@ -123,7 +123,7 @@ vxi_open(address, device) RETVAL void -vxi_read(context, OUTLIST bytesread, OUTLIST buffer, bufferlen, waitlock, termchrset, termchr) +vxi_read(context, OUTLIST bytesread, OUTLIST buffer, bufferlen, waitlock, termchrset, termchr, OUTLIST reason) VXI11::Client context char * buffer int bytesread @@ -131,9 +131,10 @@ vxi_read(context, OUTLIST bytesread, OUTLIST buffer, bufferlen, waitlock, termch bool waitlock bool termchrset char termchr + unsigned int* reason CODE: buffer = malloc(bufferlen + 1); - bytesread = vxi11_read(context, buffer, bufferlen, waitlock, termchrset, termchr); + bytesread = vxi11_read(context, buffer, bufferlen, waitlock, termchrset, termchr, reason); int vxi_readstatusbyte(context, waitforlock) |