Commit Graph

9 Commits

Author SHA1 Message Date
Sebastien Binet 2d30b71938 all: remove GODEBUG=cgocheck=0 scaffolding 2018-01-06 21:20:25 +01:00
Sebastien Binet 98d59f0c89 all: apply go-vet fixes 2017-08-10 09:11:48 +02:00
Sebastien Binet d8d6050a7f bind,_examples: apply goimports 2017-06-08 14:24:00 +02:00
Dong-hee Na 633184e998 bind: make sure GODEBUG=cgocheck=0 for Go>=1.6 2017-05-09 15:31:24 +00:00
Sebastien Binet e44991867d all: use go/types from stdlib-1.5
Updates #28.

Change-Id: Id56c7ea1257086f819f466a0f058f34dc038fd9b
2015-11-16 12:54:02 +01:00
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 7a2fe994f3 bind: support for tp_call
Fixes #33

Change-Id: I3bc4b12c92807873d4e5d72faeb096f4aaf9d070
2015-08-10 15:28:07 +02:00
Sebastien Binet a083052bf6 bind/utils: helper to check wether a func is 'func String() string' 2015-07-28 14:35:59 +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