summaryrefslogtreecommitdiff
path: root/libvxi11client/perlbits/Client.xs
diff options
context:
space:
mode:
authordaniel <danieruru@gmail.com>2013-01-18 03:29:17 +0900
committerdaniel <danieruru@gmail.com>2013-01-18 03:29:17 +0900
commit50a7131bba4d6cc161e0531fe194e75d07e05cec (patch)
tree16b236ba15cef5bb4865f8bf90c5298332402dc3 /libvxi11client/perlbits/Client.xs
parent425b461dfe9f330f7bb35061c6cce4c78fbcc5aa (diff)
convert read to the OUTLIST style.
Diffstat (limited to 'libvxi11client/perlbits/Client.xs')
-rw-r--r--libvxi11client/perlbits/Client.xs9
1 files changed, 4 insertions, 5 deletions
diff --git a/libvxi11client/perlbits/Client.xs b/libvxi11client/perlbits/Client.xs
index 339444f..65597b9 100644
--- a/libvxi11client/perlbits/Client.xs
+++ b/libvxi11client/perlbits/Client.xs
@@ -122,18 +122,17 @@ open(address, device)
OUTPUT:
RETVAL
-int
-read(context, buffer, bufferlen, waitlock, termchrset, termchr)
+void
+read(context, OUTLIST bytesread, OUTLIST buffer, bufferlen, waitlock, termchrset, termchr)
VXI11::Client context
char * buffer
+ int bytesread
unsigned int bufferlen
bool waitlock
bool termchrset
char termchr
CODE:
- RETVAL = vxi11_read(context, buffer, bufferlen, waitlock, termchrset, termchr);
- OUTPUT:
- RETVAL
+ bytesread = vxi11_read(context, buffer, bufferlen, waitlock, termchrset, termchr);
int
readstatusbyte(context, waitforlock)