if I'm not mistaken you could do

*copyOfpObj->extra_descr = *pObj->extra_descr;

I belive that should work so long as you don't have anything like strings
inside that stucture... Other wise your going to need to make a little
copying bit that will copy that structure over by hand.



----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, April 27, 2004 12:59 PM
Subject: RE: Object extra descriptions


>
>
> I forgot to mention that extra_descr is a structure, not a string.
> So the str_dup would not work in this case.
>
> Sorry!
>
> -- 
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom



Reply via email to