Skip to content

confusing parse return value #67

@hyansuper

Description

@hyansuper

mjson_get_XXX(...) return 0 or -1 for "not found", I suggest all use -1.
or better, return true on "found" and false on "not found", so these parser function can be used in if(...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions