Can we use "ImportC" used yet?

data pulverizer data.pulverizer at gmail.com
Sat Oct 23 17:42:32 UTC 2021


On Saturday, 23 October 2021 at 16:39:08 UTC, data pulverizer 
wrote:
> ```
> ...
> this(R_xlen_t n)
>   {
>     SEXPTYPE _real_ = SEXPTYPE.REALSXP;
>     _data = protect(allocVector(_real_, n));
>     unprotect(1);
>   }
> ...
> ```

Looking at that code, I realise didn't need the un/protect.


More information about the Digitalmars-d-learn mailing list