Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zcbor.py: Add support for unordered maps in generated code #425

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Nov 13, 2024

  1. zcbor.py: Some refactoring preparing for unordered maps

    Refactor checking for map elements.
    Add the top_level modifier on member names.
    Extend the ptr_result modifier so it can be used for unordered maps.
    Some cleanup.
    
    Signed-off-by: Øyvind Rønningstad <[email protected]>
    oyvindronningstad committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    1f1db89 View commit details
    Browse the repository at this point in the history
  2. zcbor.py: Add support for unordered maps in generated code

    Add support for the --unordered-maps option to zcbor code
    which makes use of the zcbor_unordered_maps_*() API in generated code.
    
    Signed-off-by: Øyvind Rønningstad <[email protected]>
    oyvindronningstad committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    2d99eec View commit details
    Browse the repository at this point in the history