mirror of https://github.com/go-python/gopy.git
55c408dc44
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. |
||
---|---|---|
.. | ||
bind.go | ||
gencpy.go | ||
gencpy_func.go | ||
gencpy_struct.go | ||
gencpy_type.go | ||
gengo.go | ||
package.go | ||
printer.go | ||
printer_test.go | ||
symtab.go | ||
types.go | ||
utils.go | ||
vars.go |