Commit Graph

6 Commits

Author SHA1 Message Date
Sebastien Binet daf017bd41 bind: discover pkgconfig package name
This CL enhances gengo with the ability to discover the latest python.pc
package name and adds it to the #cgo pkgconfig pragma.

Fixes #51.

Change-Id: If4d46d6fe90731df6b2cb4f9c39fb3ec967e7330
2015-08-31 10:23:57 +02:00
Sebastien Binet 58ae68958f all: wire in cpython API version
Change-Id: Ic09f7face9a7d65220474eb62a1a5dfe09d9d4cf
2015-08-05 14:13:37 +02:00
Sebastien Binet ce3515391b bind: fix shared buffer bug 2015-07-29 08:42:23 +02:00
Sebastien Binet c8358845a8 bind/printer: impl io.Reader + test 2015-07-29 08:36:45 +02:00
Sebastien Binet 3be107f119 bind: introduce Struct, Func and Method
this CL introduces bind.{Struct,Func,Method} types to collect informations
about types.

- rationalize cpython type strings
- generate cgo stub functions, calling structs methods
- generate (invalid) bodyless cpython functions for struct methods
2015-07-27 18:47:18 +02:00
Sebastien Binet 744ab46aef all: gopy-gen -> gopy 2015-07-24 16:16:31 +02:00