diff options
author | Andreas Schneider <asn@cynapses.org> | 2010-09-02 21:14:23 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cynapses.org> | 2010-09-02 21:14:42 +0200 |
commit | 3b30678ea8cabc0acad183280639340da39ffc4a (patch) | |
tree | 6dbb7c956c2bc0b11ecda05df8adfda4cd1e4e65 | |
parent | 0e8ec548c5c84fdfe1ed007b22c21f6f1dfab8af (diff) | |
download | libssh-swig.tar.gz libssh-swig.tar.xz libssh-swig.zip |
guru meditationswig
-rw-r--r-- | include/libssh/libsshpp.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libssh/libsshpp.hpp b/include/libssh/libsshpp.hpp index d42cd46f..11569c0a 100644 --- a/include/libssh/libsshpp.hpp +++ b/include/libssh/libsshpp.hpp @@ -480,7 +480,11 @@ public: ssh_throw(err); return err; } +#ifdef SWIG + int read(char *dest, size_t count, bool is_stderr=false){ +#else int read(void *dest, size_t count, bool is_stderr=false){ +#endif int err; /* handle int overflow */ if(count > 0x7fffffff) |