Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use more correct delimiters for erl_nif.h include | Tuncer Ayaz | 2016-09-19 | 1 | -1/+1 |
| | | | | | | | | | | | | Anywhere but the beam sources we shouldn't #include "erl_nif.h", because what "erl_nif.h" does is: (1) fail to find it outside of -I dirs, (2) then treat it as if it was written like <erl_nif.h>. Using <erl_nif.h> skips (1). More information can be found in 6.10.2 of the C standard. Because the examples use "erl_nif.h", NIF projects in the Erlang ecosystem copy this verbatim and make the same mistake. | ||||
* | update copyright-year | Henrik Nord | 2016-03-15 | 1 | -1/+1 |
| | |||||
* | Change license text to APLv2 | Bruce Yinhe | 2015-06-18 | 1 | -9/+10 |
| | |||||
* | Update copyright years | Björn-Egil Dahlberg | 2011-09-29 | 1 | -1/+1 |
| | |||||
* | erts: use a union to avoid strict aliasing issues | Tuncer Ayaz | 2011-08-15 | 1 | -28/+42 |
| | | | | | | | Use a union for pointer type conversion to avoid compiler warnings about strict-aliasing violations with gcc-4.1. gcc >= 4.2 does not emit the warning. TODO: Reconsider use of union once gcc-4.1 is obsolete? | ||||
* | erts: adapt matrix_nif to R14 erl_nif API changes | Tuncer Ayaz | 2011-08-15 | 1 | -8/+9 |
| | |||||
* | OTP-8335 NIF improvements: | Sverker Eriksson | 2010-02-17 | 1 | -0/+210 |
Driver API for multi-threading made available for NIFs. Support for mempory managed (garbage collected) resource objects. A way to pass "pointers" to native data structures between C and Erlang in a safe way. Support for references, floats and term comparison. Various new functions, like enif_inspect_iolist_as_binary, enif_make_sub_binary, enif_get_string, enif_get_atom, enif_make_tuple_from_array, enif_make_list_from_array, enif_make_existing_atom. |