From 1d00fb987b903e245d484bddfe3c0a0aba670ac1 Mon Sep 17 00:00:00 2001
From: Ben McGinnes <ben@adversary.org>
Date: Thu, 30 Aug 2018 15:41:31 +1000
Subject: python bindings: estreams fix

* lang/python/src/core.py: Adjusted new_from_estream function to alias
  new_from_stream instead of fd.
* fixed the _gpgme import errors introduced in commit
  08cd34afb762975b0273575035dacf69449ef241 by changing the exported
  functions/types to match the inner module where all the work is
  done, rather than the outer one(s).

Tested-by: Ben McGinnes <ben@adversary.org>
Signed-off-by: Ben McGinnes <ben@adversary.org>
---
 src/gpgme.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/gpgme.def')

diff --git a/src/gpgme.def b/src/gpgme.def
index c6902208..f0f748e4 100644
--- a/src/gpgme.def
+++ b/src/gpgme.def
@@ -272,7 +272,7 @@ EXPORTS
     gpgme_op_encrypt_sign_ext             @202
     gpgme_op_encrypt_sign_ext_start       @203
 
-    gpgme_data_new_from_estream           @204
+    _gpgme_data_new_from_estream          @204
 
 ; END
 
-- 
cgit v1.2.3

