# HG changeset patch # User Sebastien Decugis # Date 1351757316 -3600 # Node ID 47735fe496bce3601d982a1540f448e275413873 # Parent 886d9642f2a0e2cb05c185fc3b895ef053ec1e67 Use unamed structures to please SWIG on OSX diff -r 886d9642f2a0 -r 47735fe496bc extensions/dbg_interactive/posix.i --- a/extensions/dbg_interactive/posix.i Thu Nov 01 09:08:13 2012 +0100 +++ b/extensions/dbg_interactive/posix.i Thu Nov 01 09:08:36 2012 +0100 @@ -38,7 +38,7 @@ /****** POSIX wrappers around useful functions for fD *********/ /**** MUTEX ****/ -typedef struct pthread_mutex_swig { +typedef struct { } pthread_mutex_t; %extend pthread_mutex_t { @@ -82,7 +82,7 @@ } /**** CONDVAR ****/ -typedef struct pthread_cond_swig { +typedef struct { } pthread_cond_t; %extend pthread_cond_t { @@ -144,7 +144,7 @@ } /**** RWLOCK ****/ -typedef struct pthread_rwlock_swig { +typedef struct { } pthread_rwlock_t; %extend pthread_rwlock_t {