Projects
Kolab:Winterfell
erlang-js
erlang-js-0004-Replace-deprecated-driver_output...
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File erlang-js-0004-Replace-deprecated-driver_output_term-with-erl_drv_o.patch of Package erlang-js
From: Peter Lemenkov <lemenkov@gmail.com> Date: Sun, 16 Nov 2014 23:32:26 +0300 Subject: [PATCH] Replace deprecated driver_output_term with erl_drv_output_term Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> diff --git a/c_src/spidermonkey_drv.c b/c_src/spidermonkey_drv.c index aa17cef..5e09dba 100644 --- a/c_src/spidermonkey_drv.c +++ b/c_src/spidermonkey_drv.c @@ -79,7 +79,7 @@ void send_immediate_ok_response(spidermonkey_drv_t *dd, const char *call_id) { ErlDrvTermData terms[] = {ERL_DRV_BUF2BINARY, (ErlDrvTermData) call_id, strlen(call_id), ERL_DRV_ATOM, dd->atom_ok, ERL_DRV_TUPLE, 2}; - driver_output_term(dd->port, terms, sizeof(terms) / sizeof(terms[0])); + erl_drv_output_term(driver_mk_port(dd->port), terms, sizeof(terms) / sizeof(terms[0])); } #define COPY_DATA(CD, CID, TERMS) \ @@ -253,7 +253,7 @@ ready_async(ErlDrvData handle, ErlDrvThreadData async_data) spidermonkey_drv_t *dd = (spidermonkey_drv_t *) handle; js_call *call_data = (js_call *) async_data; - driver_output_term(dd->port, + erl_drv_output_term(driver_mk_port(dd->port), call_data->return_terms, call_data->return_term_count); driver_free_binary(call_data->args);
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.