Skip to content

Commit

Permalink
Merge pull request #1990 from minrk/mutex-type
Browse files Browse the repository at this point in the history
cffi: fix type of hint mutex pointer
  • Loading branch information
minrk authored May 25, 2024
2 parents 5026490 + b180ebc commit 0e5615f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions zmq/backend/cffi/_cdefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,14 @@ void * malloc(size_t sz);
void free(void *p);
int get_ipc_path_max_len(void);

typedef struct { ...; } mutex_t;

typedef struct _zhint {
void *sock;
void *mutex;
mutex_t *mutex;
size_t id;
} zhint;

typedef ... mutex_t;
mutex_t* mutex_allocate();

int zmq_wrap_msg_init_data(zmq_msg_t *msg,
Expand Down

0 comments on commit 0e5615f

Please sign in to comment.