gopy/bind
Sebastien Binet 55c408dc44 bind: handling of private fields in struct.tp_init
Previously, the tp_init function being generated for a struct would try to fill
private fields from the args passed to __init__.
This obviously breaks Go's encapsulation mechanism.

Only allow public fields to be initialized from __init__.
Add a test.

Fixes #52.
2015-08-31 18:40:47 +02:00
..
bind.go bind: discover pkgconfig package name 2015-08-31 10:23:57 +02:00
gencpy.go bind: first stab at a gopy object model 2015-08-14 13:04:35 +02:00
gencpy_func.go bind: refactor genFunc 2015-08-11 17:28:38 +02:00
gencpy_struct.go bind: handling of private fields in struct.tp_init 2015-08-31 18:40:47 +02:00
gencpy_type.go bind: first stab at wrapping interfaces 2015-08-14 13:26:09 +02:00
gengo.go bind: dont wrap unexported methods 2015-08-31 18:12:07 +02:00
package.go bind: first stab at wrapping interfaces 2015-08-14 13:26:09 +02:00
printer.go
printer_test.go
symtab.go bind: first stab at wrapping interfaces 2015-08-14 13:26:09 +02:00
types.go bind: change wrap pointer logic (HACK) 2015-08-12 10:25:07 +02:00
utils.go bind: discover pkgconfig package name 2015-08-31 10:23:57 +02:00
vars.go