On Fri, Sep 20, 2013 at 8:13 AM, Tom Browder <[email protected]> wrote:
> One problem with static initialization that's been bothering me is how
> to get info back from the C++ side without a pointer.
>
> Couldn't we use a pipe or read/write data to a tmp file?  (Or shared memory?)

I just committed a new static API for comment (see example use file
dsp_add3.c).  The reality is a little different because, until just
now (eureka!), I couldn't see how to have different structs in the
same arg array (but I think using void* can take care of that).  Using
different structs may wait until I get comments on the new approach.

Ref different structs for different  arg types:  The arg type flag
would still be required AFAIK unless we can use some C++ magic (will
RTTI work?) on that side to disambiguate the type of struct.  Ideas?

Stay tuned.

Best,

-Tom

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to