Skip to content

Commit

Permalink
Fix broken marshaling of multiple (tuple) return values.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnorberg committed Mar 12, 2011
1 parent e76248a commit 703dd49
Show file tree
Hide file tree
Showing 3 changed files with 98 additions and 80 deletions.
103 changes: 54 additions & 49 deletions socketless/service.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion socketless/service.pyx
Expand Up @@ -100,7 +100,7 @@ cdef class Service(object):
return unmarshalling_callback_single
else:
def wrap_callback(callback):
def unmarshalling_callback_tuple(result):
def unmarshalling_callback_tuple(*result):
callback(marshal_output(*result))
return unmarshalling_callback_tuple

Expand Down

0 comments on commit 703dd49

Please sign in to comment.