Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Build fails with: could not determine kind of name for C.mrb_ary_len #72

Open
@cromega

Description

@cromega

Hi,

Building the library fails as follows:

go-mruby git:(master) go build
# github.com/mitchellh/go-mruby
./array.go:15:13: could not determine kind of name for C.mrb_ary_len

A commit to MRuby from 2017 (67e2dddb8254fbf4a4eb81c1241ec1963bc77627) seems to have introduced the following change:

    Remove `mrb_ary_len` function. Use `RARRAY_LEN` instead.

Wondering why it hasn't caused problems for anyone else. Am I doing something stupid?

Go: 1.11.5
Mruby: 2.0.0

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