aboutsummaryrefslogtreecommitdiffstats
path: root/otp_patch_apply
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2018-02-19 19:40:10 +0100
committerJohn Högberg <[email protected]>2018-02-26 08:29:38 +0100
commit165b8455d4bf2e3797008a9ad8496b203d017474 (patch)
tree294d12a84496fdba57ac76de4b1ffc8f9a96ff95 /otp_patch_apply
parenta92c200af89b9b1f35db26ae8e13333af5638e15 (diff)
downloadotp-165b8455d4bf2e3797008a9ad8496b203d017474.tar.gz
otp-165b8455d4bf2e3797008a9ad8496b203d017474.tar.bz2
otp-165b8455d4bf2e3797008a9ad8496b203d017474.zip
Suggest using enif_make_new_binary when possible
While enif_make_binary will create heap-binaries from ErlNifBinaries when possible now, enif_alloc_binary still allocates a Binary* off-heap which is avoided entirely with enif_make_new_binary.
Diffstat (limited to 'otp_patch_apply')
0 files changed, 0 insertions, 0 deletions