Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Add enum support. #13

Closed
itdaniher opened this issue Feb 15, 2014 · 3 comments
Closed

Add enum support. #13

itdaniher opened this issue Feb 15, 2014 · 3 comments

Comments

@itdaniher
Copy link
Contributor

It'd be nice to be able to make use of enums - it's a feature I used with capnp that was quite helpful for weird datastructure shenanigans. Opening an issue to collect thoughts before I give it a stab.

@itdaniher
Copy link
Contributor Author

Coercion to and from uint would be useful for my purposes, largely just as syntactic sugar. Turns out msgpack doesn't define an enum type.

@mneumann
Copy link
Owner

There is a new msgpack spec which includes user-defined types. But this will never be interoperable with other languages, so it's better not to use.

@mneumann
Copy link
Owner

mneumann commented Aug 6, 2014

Yeah, it's not interoperable.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants