Memory allocation pattern related question

2009-03-29 Thread Daniel Luis dos Santos
Hello, I have a shared library and some client code. In the shared library I am adopting the following method signature pattern : - (int) someMethod: (aType*)someInParam anotherParam: (aType**)someOutParam; I use the return value to indicate success or failure in the execution of the

Re: Memory allocation pattern related question

2009-03-29 Thread Jason Stephenson
Daniel Luis dos Santos wrote: Hello, I have a shared library and some client code. In the shared library I am adopting the following method signature pattern : - (int) someMethod: (aType*)someInParam anotherParam: (aType**)someOutParam; I use the return value to indicate success or

Re: Memory allocation pattern related question

2009-03-29 Thread Ken Thomases
On Mar 29, 2009, at 8:35 AM, Daniel Luis dos Santos wrote: I have a shared library and some client code. In the shared library I am adopting the following method signature pattern : - (int) someMethod: (aType*)someInParam anotherParam: (aType**)someOutParam; I use the return value to