[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: varptr to structs returns bad pointer value


>
> No this does not pass the correct pointer, I am trying to pass a generic
> structure, I want to use pointers.
>
I see, it wasn't clear from the example code you gave.  I agree with your
implementation plan.


> I am sorry but varptr(xxx)    should return a pointer to the actual memory
> containing the structure.
>
I agree, but this isn't in the documentation and it seems it is not
implemented [cannot find it under void SUBR_varptr(ushort code)
]. For the reasons Benoit knows, this is not raising error either. I don't
know enough about the implementation details to say more.
Maybe this can be added.

Jussi

Follow-Ups:
Re: varptr to structs returns bad pointer valuevuott@xxxxxxxxxxxx
References:
Re: varptr to structs returns bad pointer valueBrian G <brian@xxxxxxxxxxxxxxxx>