Skip to content

rb_eql() not implemented in JRuby #227

@dmacvicar

Description

@dmacvicar

(Ref: libyui/ruby-ui#6 )

We noticed rb_eql is not provided by JRuby, so in order to compile our extension we had to replace:

return rb_eql(this->rubyValue(), that->rubyValue());

with:

return rb_funcall(this->rubyValue(), rb_intern("eql?"), 1, that->rubyValue());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions