aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_driver.h
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2011-12-07 11:46:43 +0100
committerBjörn Gustavsson <[email protected]>2011-12-09 11:46:25 +0100
commitf8bfec7ff2f5935ca2281f760746ba359454ef15 (patch)
tree717477505b930058ea5da9f336eaa3e18fb1eeca /erts/emulator/beam/erl_driver.h
parent14eb7c4345157f71a0f7b0378007ab510698e8f3 (diff)
downloadotp-f8bfec7ff2f5935ca2281f760746ba359454ef15.tar.gz
otp-f8bfec7ff2f5935ca2281f760746ba359454ef15.tar.bz2
otp-f8bfec7ff2f5935ca2281f760746ba359454ef15.zip
erl_driver.h: Enlarge type on return value from call
Diffstat (limited to 'erts/emulator/beam/erl_driver.h')
-rw-r--r--erts/emulator/beam/erl_driver.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/erts/emulator/beam/erl_driver.h b/erts/emulator/beam/erl_driver.h
index 4f2abfc907..d553622bfe 100644
--- a/erts/emulator/beam/erl_driver.h
+++ b/erts/emulator/beam/erl_driver.h
@@ -327,11 +327,12 @@ typedef struct erl_drv_entry {
closed, and there is data in the
driver queue that needs to be flushed
before 'stop' can be called */
- int (*call)(ErlDrvData drv_data,
- unsigned int command, char *buf, ErlDrvSizeT len,
- char **rbuf, ErlDrvSizeT rlen, unsigned int *flags);
- /* Works mostly like 'control', a synchronous
- call into the driver. */
+ ErlDrvSSizeT (*call)(ErlDrvData drv_data,
+ unsigned int command, char *buf, ErlDrvSizeT len,
+ char **rbuf, ErlDrvSizeT rlen,
+ unsigned int *flags); /* Works mostly like 'control',
+ a synchronous
+ call into the driver. */
void (*event)(ErlDrvData drv_data, ErlDrvEvent event,
ErlDrvEventData event_data);
/* Called when an event selected by