Thrift and Python: Made to be together
Summary: Python client code generation for Thrift... HOTNESS!
Notes: Servers and asynchronous clients are coming soon...
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664779 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/php/src/protocol/TProtocol.php b/lib/php/src/protocol/TProtocol.php
index d703bd7..855d588 100644
--- a/lib/php/src/protocol/TProtocol.php
+++ b/lib/php/src/protocol/TProtocol.php
@@ -100,14 +100,14 @@
* @param int $type message type TMessageType::CALL or TMessageType::REPLY
* @parem int $seqid The sequence id of this message
*/
- public abstract function readMessageBegin($out, &$name, &$type, &$seqid);
+ public abstract function readMessageBegin($in, &$name, &$type, &$seqid);
/**
* Read the close of message
*
* @param TTransport $out Output transport
*/
- public abstract function readMessageEnd($out);
+ public abstract function readMessageEnd($in);
public abstract function readStructBegin($in, &$name);
diff --git a/lib/py/setup.py b/lib/py/setup.py
index 4beaba7..1d5d023 100644
--- a/lib/py/setup.py
+++ b/lib/py/setup.py
@@ -6,7 +6,7 @@
author = ['Mark Slee'],
author_email = ['mcslee@facebook.com'],
url = 'http://code.facebook.com/thrift',
- packages = ['thrift', 'thrift.protocol', 'thrift.transport']
+ packages = ['thrift', 'thrift.protocol', 'thrift.transport'],
package_dir = {'thrift' : 'src'},
)