~ubuntu-branches/ubuntu/saucy/m2crypto/saucy

« back to all changes in this revision

Viewing changes to SWIG/_m2crypto.i

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2009-11-06 01:28:39 UTC
  • mfrom: (2.2.5 sid)
  • Revision ID: james.westby@ubuntu.com-20091106012839-zjjugwmj8zggokqh
Tags: 0.20.1-1ubuntu1
* Merge from debian testing, remaining changes:
  - debian/rules; enable testsuite, add more files to "clean" rule.
  - tests/test_ssl.py: use signal 9 to kill old s_server processes
    to work around build HUP signal-ignore-mask (LP: #451998).

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 * Copyright (C) 2004-2006 OSAF. All Rights Reserved.
6
6
 */
7
7
 
8
 
%module _m2crypto
 
8
%module(threads=1) _m2crypto
 
9
/* We really don't need threadblock (PyGILState_Ensure() etc.) anywhere.
 
10
   Disable threadallow as well, only enable it for operations likely to
 
11
   block. */
 
12
%nothreadblock;
 
13
%nothreadallow;
9
14
 
10
15
%{
11
16
#include <openssl/err.h>