Automatically add stem to GObject method names
commitbb034210f7877770b6c6ff733a5993c3115abda9
authorThomas Leonard <talex5@gmail.com>
Tue, 21 Oct 2008 18:30:44 +0000 (21 19:30 +0100)
committerThomas Leonard <talex5@gmail.com>
Tue, 21 Oct 2008 18:30:44 +0000 (21 19:30 +0100)
treee22017eb4f48bf9b7991d86068435d59686afb03
parent1e8d6102a41cd52e41caf3c71c50f660bc216d6b
Automatically add stem to GObject method names

For example, this:

extern(GObject):
interface GtkWidget:
void show()

GObject obj
obj.show()

becomes

gtk_widget_show(obj)

Name is lower-cased, and an _ inserted before each upper case letter that
follows a lower case one. Might need to way to state the stem explicitly
for some types.
dmd2/mangle.c