>
> What I meant was: Why has your intersection_t struct an intersect member?
> You don't use it.
> I wanted to use it as a surrogate for your NULL return value but what was
> your reason?
>

I just didn't really know what that intersect member was in your example.
So I just set it to 0 in the hopes that sometime later I would understand
it's use xD


> I wanted to show you your options because only when you know them you will
> be able to make a well reasoned decision.  And, Vasco showed you a third
> one.  Now, it's on you to decide (not on me).
>

In the end I decided to pass a pointer and leave all memory management to
the caller.

Thank you again for the help and suggestions!
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to