This should fix #38. However, I haven't yet had time to write a test and see it fail/pass with my patch here, or test it on a more complex system.
This will also break code that uses enum Whatever for Cap'n Proto enums, since this typedefs the enums as uint16_t. The fix is to simply drop the enum in calling code.
This should fix #38. However, I haven't yet had time to write a test and see it fail/pass with my patch here, or test it on a more complex system.
This will also break code that uses
enum Whatever
for Cap'n Proto enums, since this typedefs the enums asuint16_t
. The fix is to simply drop theenum
in calling code.