Am 29.09.2011, 06:51 Uhr, schrieb Cheng Wei <[email protected]>:
extern(C) {
struct ab;
}
ab*[int] map;
void main() {
map.clear();
}
Cannot be compiled. Why?
Thanks.
Just use void* for opaque pointers in D.
Am 29.09.2011, 06:51 Uhr, schrieb Cheng Wei <[email protected]>:
extern(C) {
struct ab;
}
ab*[int] map;
void main() {
map.clear();
}
Cannot be compiled. Why?
Thanks.
Just use void* for opaque pointers in D.