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

create _Generic macro for type serializing functions #453

Open
milyin opened this issue Jun 13, 2024 · 3 comments
Open

create _Generic macro for type serializing functions #453

milyin opened this issue Jun 13, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@milyin
Copy link
Contributor

milyin commented Jun 13, 2024

Describe the release item

Serialize any type with macro z_bytes_serialize, similarly to z_loan
Related also to #451

Thanks @wyfo for the idea!

@milyin milyin added the release Part of the next release label Jun 13, 2024
@milyin milyin added the enhancement New feature or request label Jun 13, 2024
@wyfo
Copy link
Contributor

wyfo commented Jun 13, 2024

It was my idea 😭 More seriously, we should also add a z_bytes_deserialize macro at the same time.

@milyin
Copy link
Contributor Author

milyin commented Jun 13, 2024

It was my idea 😭 More seriously, we should also add a z_bytes_deserialize macro at the same time.

Sorry!!! I've started typing from "J" and didn't noticed the continuation

@milyin milyin removed the release Part of the next release label Jul 1, 2024
@milyin
Copy link
Contributor Author

milyin commented Aug 4, 2024

Serializing funcitons are better aligned in #553 fixes. Now It would be nice to combine them functions under single macro/template

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants