Help needed to actualizing allegro bindings (or this bindings are complex and I am dumb)
g
L at MF.ao.com
Sat Nov 14 23:53:40 PST 2009
I have been trying to actualize the http://www.dsource.org/projects/dallegro binings to the lastest D2 version.
The main problems are:
*TLS
*volatile isn't here anymore ( neither with -d )
One of the most hard things to understand was things like:
mixin(_volatile("int", "key_shifts"));
and _volatile_setter things.
Especially when you have things like:
char* allegro_id;
and then:
import allegro.internal.dintern;
static this() {
allegro_id = allegro.internal.dintern.allegro_id.ptr;
allegro_error = allegro.internal.dintern.allegro_error.ptr;
cpu_vendor = allegro.internal.dintern.cpu_vendor.ptr;
//_system_driver_list = allegro.misc._system_driver_list.ptr;
}
A strange way of wraping.
Sooooooooo...
Are there other bindings to allegro?
Does anyone has actualized this bindings?
Is Someone interested in helping?
Should i abdicate?
g
More information about the Digitalmars-d-learn
mailing list