Mercurial > hg > freeDiameter
changeset 875:47735fe496bc
Use unamed structures to please SWIG on OSX
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Thu, 01 Nov 2012 09:08:36 +0100 |
parents | 886d9642f2a0 |
children | f8e8cc0d115b |
files | extensions/dbg_interactive/posix.i |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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 {