Results 358 comments of Takatoshi Kondo

I sent the PR #791. It supports a minimal functionality to remove malloc. Could you try this? https://github.com/redboltz/msgpack-c/blob/minimal_allocator_support/example/c/no_malloc_c.c https://github.com/redboltz/msgpack-c/blob/minimal_allocator_support/example/cpp03/no_malloc.cpp

`my_malloc`, `my_realloc`, and `my_free` in my example are toy level example implementation. Only for PoC. When you implement your custom allocator from static memory (or stack), you need to write...

Here are some memory allocator libraries: * https://eli.thegreenplace.net/2008/10/17/memmgr-a-fixed-pool-memory-allocator * https://github.com/eliben/code-for-blog/tree/master/2008/memmgr * https://github.com/lynxlynx/smalloc

I don't understand the first question very much. But I guess that `covert` or `as` can do that. See https://github.com/msgpack/msgpack-c/wiki/v2_0_cpp_object#conversion It's C++ version feature. In C, you need to convert...

On travis-ci https://travis-ci.org/msgpack/msgpack-c/jobs/384509443#L4 works. What version of MacOS, msgpack-c, and compiler are you using?

Yes, you can read only access to `msgpack::object` using visitor interface. This is json stringize visitor for `msgpack::object`. https://github.com/msgpack/msgpack-c/blob/419877cf3a9d0d7a332cf9cc768c8813c019e00d/include/msgpack/v1/object.hpp#L396 And this is applying the visitor code: https://github.com/msgpack/msgpack-c/blob/419877cf3a9d0d7a332cf9cc768c8813c019e00d/include/msgpack/v1/object.hpp#L1229 You can define...

Here is document https://github.com/msgpack/msgpack-c/wiki/v2_0_cpp_visitor#visitor-interface

There is no straight forward way but https://github.com/msgpack/msgpack-c/wiki/v_2_0_cpp_json might help you.

@akien-mga , thank you for reporting the issue. Unfortunately, the problem isn't reproduced on my environment. Could you tell me your cmake options?

I'm not sure but #710 and #717 might solve the issue.