aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/drivers/win32
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-12-07 15:57:23 +0100
committerBjörn Gustavsson <[email protected]>2011-12-09 11:46:26 +0100
commit261fc9e444187f30e0b1afe69adbafc715124ba1 (patch)
treebb144c297e6e7af663f6c1eca081d06905696435 /erts/emulator/drivers/win32
parent1f99b8b3a0a7f1c3a110df087bc6d7cba0cc913f (diff)
downloadotp-261fc9e444187f30e0b1afe69adbafc715124ba1.tar.gz
otp-261fc9e444187f30e0b1afe69adbafc715124ba1.tar.bz2
otp-261fc9e444187f30e0b1afe69adbafc715124ba1.zip
built-in drivers: Add ERL_DRV_EXTENDED_MARKER and version numbers
Diffstat (limited to 'erts/emulator/drivers/win32')
-rw-r--r--erts/emulator/drivers/win32/registry_drv.c13
-rw-r--r--erts/emulator/drivers/win32/ttsl_drv.c14
2 files changed, 25 insertions, 2 deletions
diff --git a/erts/emulator/drivers/win32/registry_drv.c b/erts/emulator/drivers/win32/registry_drv.c
index 8c40f3c2ec..1fad34e380 100644
--- a/erts/emulator/drivers/win32/registry_drv.c
+++ b/erts/emulator/drivers/win32/registry_drv.c
@@ -95,10 +95,21 @@ struct erl_drv_entry registry_driver_entry = {
NULL,
"registry__drv__",
NULL,
+ NULL, /* handle */
+ NULL, /* control */
+ NULL, /* timeout */
+ NULL, /* outputv */
+ NULL, /* ready_async */
+ NULL, /* flush */
+ NULL, /* call */
+ NULL, /* event */
+ ERL_DRV_EXTENDED_MARKER,
+ ERL_DRV_EXTENDED_MAJOR_VERSION,
+ ERL_DRV_EXTENDED_MINOR_VERSION,
+ 0,
NULL,
NULL,
NULL,
- NULL
};
static int
diff --git a/erts/emulator/drivers/win32/ttsl_drv.c b/erts/emulator/drivers/win32/ttsl_drv.c
index 96df0dc6bd..1a74d21e99 100644
--- a/erts/emulator/drivers/win32/ttsl_drv.c
+++ b/erts/emulator/drivers/win32/ttsl_drv.c
@@ -121,7 +121,19 @@ struct erl_drv_entry ttsl_driver_entry = {
NULL,
NULL,
ttysl_control,
- NULL
+ NULL, /* timeout */
+ NULL, /* outputv */
+ NULL, /* ready_async */
+ NULL, /* flush */
+ NULL, /* call */
+ NULL, /* event */
+ ERL_DRV_EXTENDED_MARKER,
+ ERL_DRV_EXTENDED_MAJOR_VERSION,
+ ERL_DRV_EXTENDED_MINOR_VERSION,
+ 0,
+ NULL,
+ NULL,
+ NULL,
};
static int utf8_mode = 0;