slang-users mailing list

[2000 Date Index] [2000 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: Return values


Francois Guimond <fguimond@xxxxxxxxxx> wrote:
>Is it possible to use double reference to modify input variables
>(**SLANG_ULONG_TYPE) or I have to push the result on the stack?

Data passed via the argument list of a C function should never be
modified.  So, the result should be pushed onto the stack.

--John


[2000 date index] [2000 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]