Skip to content

Instantly share code, notes, and snippets.

@moonpolysoft
Created March 22, 2010 22:18
Show Gist options
  • Save moonpolysoft/340601 to your computer and use it in GitHub Desktop.
Save moonpolysoft/340601 to your computer and use it in GitHub Desktop.
ev.size = size; /* total size */
ev.iov = ivp;
ev.binv = bvp;
fpe_was_unmasked = erts_block_fpe();
(*drv->outputv)((ErlDrvData)p->drv_data, &ev);
erts_unblock_fpe(fpe_was_unmasked);
if (ivp != iv) {
erts_free(ERTS_ALC_T_TMP, (void *) ivp);
}
if (bvp != bv) {
erts_free(ERTS_ALC_T_TMP, (void *) bvp);
}
driver_free_binary(cbin);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment