Skip to content

Dangerous static variables use #2

@LosevMikhail

Description

@LosevMikhail

Hey jjanier!

I've tried to use your library for axml parsing in my pet-project and thats what i came across:
when had parsed some axml and then starting to parse another, static variable event in AxmlNext() is still set to AE_ENDDOC state while it's gotta be -1 for forward initialization with a new document. Thats why i think your lib cannot be used to parse 2 or more documents in a row

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