Fixed doc of return values.

Reviewer: Renato Araújo <renato.filho@openbossa.org>
          Luciano Wolf <luciano.wolf@openbossa.org>
This commit is contained in:
Hugo Parente Lima 2010-10-05 11:49:13 -03:00
commit bebede17c0
6 changed files with 51 additions and 15 deletions

View file

@ -136,6 +136,9 @@
<modify-argument index="2">
<remove-argument/>
</modify-argument>
<modify-argument index="return">
<replace-type modified-type="(retval, data)"/>
</modify-argument>
<inject-code class="target" position="beginning">
char *data = new char[%3];
bool result = %CPPSELF.read(%1, data, %3);