szhorvat / LTemplate

Extend Mathematica with LibraryLink and C++ with ease
57 stars 10 forks source link

Better way to handle LExpressionID with MathLink based passing #4

Closed szhorvat closed 6 years ago

szhorvat commented 8 years ago

Currently there is no proper way to access another LExpression from a function that uses link-based passing (only hacks, such as explicitly accessing the internal collection object.).

szhorvat commented 6 years ago

Fixed by adding getInstance and getCollection