diff extensions/dbg_interactive/posix.i @ 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 d59decafe9c0
children 2b14ccdd0b92
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 {
"Welcome to our mercurial repository"