Skip to content

Document how this code was generated #3

@C-Loftus

Description

@C-Loftus

Hi there!

I am trying to get golang bindings to atspi and it seems like you were able to autogenerate them here: https://github.com/electricface/go-gir/tree/master/atspi-2.0

Could you describe how you accomplished this? Are there any caveats one should be aware of?

Are you using https://github.com/linuxdeepin/go-gir ? Since at least for me that does not work to generate the bindings to at-spi-2 core

gir-generator -o . ~/github/at-spi2-core/atspi/
panic: runtime error: slice bounds out of range [:-6]

goroutine 1 [running]:
main.main()
        /build/go-gir-generator-Bxl366/go-gir-generator-2.2.0/src/gir-generator/main.go:202 +0x450

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions