On Sun, 24 Jun 2018, Michael Ferguson wrote:

If you mean being able to refer to an external
C variable which is a struct then yes.

To be clear, the usual way to allow a C struct to work in Chapel code
is `extern record`, which we are not talking about deprecating:

Lost in translation when the email crossed the Pacific Ocean.

https://chapel-lang.org/docs/technotes/extern.html#declaring-external-c-structs

The feature that Brad is talking about deprecating is `extern class` which
is arguably better represented as a `c_ptr(someExternRecord)`
(i.e. explicitly as a pointer to a struct):

In that case, ignore my email. Iit does not affect me. Go for it.

Regards - Damian

Pacific Engineering Systems International, 277-279 Broadway, Glebe NSW 2037
Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here
Views & opinions here are mine and not those of any past or present employer

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Chapel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-users

Reply via email to