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

Fixed #465 #466

Merged
merged 1 commit into from
May 18, 2016
Merged

Fixed #465 #466

merged 1 commit into from
May 18, 2016

Conversation

redboltz
Copy link
Contributor

Added C-Style array support.

Existing mapping:
convert:
pack:
char[N] => STR
const char[N] => STR
object:
char[N] => STR (v1 only)
const char[N] => STR (v1 only)
object_with_zone:
char[N] => STR
const char[N] => STR

Additional mapping:

convert:
STR => char[N]
ARRAY => T[N]
pack:
T[N] => ARRAY
const T[N] => ARRAY
object:
object_with_zone:
T[N] => ARRAY
const T[N] => ARRAY

Added C-Style array support.

Existing mapping:
  convert:
  pack:
    char[N]       => STR
    const char[N] => STR
  object:
    char[N]       => STR (v1 only)
    const char[N] => STR (v1 only)
  object_with_zone:
    char[N]       => STR
    const char[N] => STR

Additional mapping:

  convert:
    STR        => char[N]
    ARRAY      => T[N]
  pack:
    T[N]       => ARRAY
    const T[N] => ARRAY
  object:
  object_with_zone:
    T[N]       => ARRAY
    const T[N] => ARRAY
@redboltz redboltz merged commit a3f353e into msgpack:master May 18, 2016
@redboltz redboltz deleted the fix_465 branch May 18, 2016 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant