Hi Maarten,

I'm not sure if I understand your problem, I don't know what should look
your structure but this is little example how to get pointer to a structure:

number: 123
p_str: make struct! [str [struct! [num [integer!]]]] reduce [number]
>> probe third p_str
== #{202FD800} ;this is a pointer to structure containing integer


regards,

Cyphre



----- Original Message -----
From: "Maarten Koopmans" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, May 06, 2002 2:06 PM
Subject: [REBOL] Pointer to an unknown [struct!]


Hi,

Tinkering with the library interface I have the following problem:

I must pass in a pointer to a result structure (specifically: LDAPMessage
from
the Openldap libs). I have no definition for the structure however, as
clients are "not supposed to directly manipulate these".

I must pass it a zillion times around instead, which should not  be a
problem
if I'd knew how to do the initial memory allocation.

Anyone?

--Maarten
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.




-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to