Commit Graph

12 Commits

Author SHA1 Message Date
Stephan Sundermann
a74534e835 generator: Create a directory for each namespace
When dealing with several namespaces there might be classes with the same name
(especially Global which is autogenerated in g-i based bindings). On generation
the file would be overriden by the last occurence in the xml. To encounter
this every namespace has it's own directory now. This also improves structure
a lot when dealing with big libraries.

Also do the necessary adaption for the build and the csproj files.
2014-03-01 21:16:54 +01:00
Bertrand Lorentz
9b9512a3ce generator: Remove unused variables in NativeStructGen 2013-10-10 23:47:12 +02:00
Bertrand Lorentz
57938c321e generator: Add missing copyright headers in files added by Stephan 2013-10-10 23:38:03 +02:00
Stephan Sundermann
587f0f56e7 generator: NativeStructGen needs to be partial 2013-10-09 20:49:09 +02:00
Stephan Sundermann
50f07d17ad generator: removed redundant allocation 2013-10-09 20:48:24 +02:00
Stephan Sundermann
21c9c9ff8c generator: remove bitfields from Equals/GetHashCode 2013-10-09 20:47:26 +02:00
Stephan Sundermann
f6fef3a402 generator: fixed NativeStructGen's formatting 2013-10-09 20:44:28 +02:00
Stephan Sundermann
c5b04cb70e generator: fixed native struct parent 2013-10-09 20:43:44 +02:00
Stephan Sundermann
edc339baf5 generator: redundant method in NativeStructGen 2013-10-09 20:43:12 +02:00
Stephan Sundermann
0f79e9af06 generator: fixicate NativeStructGen
Made NativeStructGen more consistent with the way Gdk.Event
and Pango.Attribute are handled. Also increases performance
because reflection is not needed anymore to marshal these
kind of structs.
2013-10-09 20:42:03 +02:00
Stephan Sundermann
33fd293b84 generator: null check for handle (NativeStructGen)
Check Handle against IntPtr.Zero before marshalling.
2013-10-09 14:02:46 +02:00
Stephan Sundermann
29a900e51e generator: added conversion for byref structs
The pointer from native is stored inside of a class which
wraps the structure. Fields can be accessed by marshalling
from and to the pointer. glib: Value.Update does now invoke
a private Update() method which is needed to update the new
structures.
2013-10-09 13:40:56 +02:00