aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/c_src/wxe_driver.h
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2013-01-16 16:45:01 +0100
committerDan Gudmundsson <[email protected]>2013-01-16 16:45:01 +0100
commit086e369ee6a480a9de64bfc9c51430622ef9b2b6 (patch)
tree073e2fc7466837523411542caf05595ff34c7e28 /lib/wx/c_src/wxe_driver.h
parentb1ed656aa179b0d4c8a385d9cde93d326d835302 (diff)
downloadotp-086e369ee6a480a9de64bfc9c51430622ef9b2b6.tar.gz
otp-086e369ee6a480a9de64bfc9c51430622ef9b2b6.tar.bz2
otp-086e369ee6a480a9de64bfc9c51430622ef9b2b6.zip
wx: Remove deprecated driver_send_term usage
Diffstat (limited to 'lib/wx/c_src/wxe_driver.h')
-rw-r--r--lib/wx/c_src/wxe_driver.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/wx/c_src/wxe_driver.h b/lib/wx/c_src/wxe_driver.h
index 5c5b8614ed..c765c866c2 100644
--- a/lib/wx/c_src/wxe_driver.h
+++ b/lib/wx/c_src/wxe_driver.h
@@ -1,7 +1,7 @@
/*
* %CopyrightBegin%
*
- * Copyright Ericsson AB 2008-2010. All Rights Reserved.
+ * Copyright Ericsson AB 2008-2013. All Rights Reserved.
*
* The contents of this file are subject to the Erlang Public License,
* Version 1.1, (the "License"); you may not use this file except in
@@ -43,7 +43,8 @@ typedef struct wxe_bin_ref {
typedef struct wxe_data_def {
void * driver_data;
WXEBinRef * bin; /* Argument binaries */
- ErlDrvPort port;
+ ErlDrvPort port_handle;
+ ErlDrvTermData port;
int is_cbport;
ErlDrvPDL pdl;
} wxe_data;
@@ -67,8 +68,9 @@ void meta_command(int what, wxe_data *sd);
void * wxe_ps_init();
-extern ErlDrvPort WXE_DRV_PORT;
-extern int wxe_debug;
+extern ErlDrvPort WXE_DRV_PORT_HANDLE;
+extern ErlDrvTermData WXE_DRV_PORT;
+extern int wxe_debug;
extern char * erl_wx_privdir;