jckarter/clay — Issue #66: bindgen: no declaration of opaque structs on typedef
Author: Blei
Created: 2011-12-17 16:40:31+00:00
State: open

The following struct is defined/typedefd in glib/gthread.h:

```c
typedef struct _GMutex GMutex;
```

That's all there is; it's supposed to be opaque.

Bindgen on the other hand generates the following failing code:

```
alias GMutex = Struct__GMutex;
```

I thinks something like `alias Struct__GMutex = Opaque;` or `alias GMutex = Opaque;` should be generated.