Adds support for pointers to slices as output parameters:
type StrVector []string
func Fill (out *StrVector) {
*out = []string{A, B}
}
Co-authored-by: Ondřej Herman <xherman1@fi.muni.cz>
Co-authored-by: Pavel Rychlý <pary@fi.muni.cz>
Adds support for changing the names of methods and
functions in the generated Python library. For example,
the following function will be available as under the name
`hello`:
//gopy:name hello
func Hello() string { return Hello }
Co-authored-by: Ondřej Herman <xherman1@fi.muni.cz>
Co-authored-by: Pavel Rychlý <pary@fi.muni.cz>
- Provision to auto-generate / verify support matrix from tests.
- Wrap around long lines > 80 characters in README.md.
Change-Id: Ice93fef8233e8cbc1566e17ae06b51bf79fd43eb
- Refactor main() to be able to invoke with custom args from the test.
- Use run() method in unit test to make it possible to assess coverage
using go test.
- Provision to auto-generate / verify support matrix from tests.
- Wrap around long lines > 80 characters in README.md.
- Also adding a .gitignore files excluding some temporary files of vim
editor.
Change-Id: Ice93fef8233e8cbc1566e17ae06b51bf79fd43eb
- There was a bug in test which didn't disable py2-cffi test backend
even if cffi module wasn't present on the system. This was because py2
and py2-cffi were by default part of the enabled backends and were never
disabled.
- The value for testBackends need to be only a bool instead of an int.
- Added a new environment variable GOPY_TRAVIS_CI used in travis CI.
go test will panic if not all backends are available when
GOPY_TRAVIS_CI=1.
- Also added some log messages.
Change-Id: Iae02f81e521bc9ede2caf6ef5e390d4e2ebf671c
- Refactor main() to be able to invoke with custom args from the test.
- Use run() method in unit test to make it possible to assess coverage
using go test.
This CL adds support for sub-tests for Go >= 1.7 and adds the needed
fallback code for Go < 1.7.
This allows to run sub-tests in parallel, where each sub-test tests a
backend (py2-cffi, py3-cffi, py3, ...).