rasqal_literal_equals

Name

rasqal_literal_equals --  Compare two literals with no type promotion

Synopsis

int rasqal_literal_equals (rasqal_literal* l1, rasqal_literal* l2);

Arguments

l1

rasqal_literal literal

l2

rasqal_literal data literal

Description

If the l2 data literal value is a boolean, it will match the string "true" or "false" in the first literal l1.

Return value

non-0 if equal