include/yarp/util/yp_buffer.h in yarp-0.6.0 vs include/yarp/util/yp_buffer.h in yarp-0.7.0
- old
+ new
@@ -10,9 +10,10 @@
#include <string.h>
// A yp_buffer_t is a simple memory buffer that stores data in a contiguous
// block of memory. It is used to store the serialized representation of a
// YARP tree.
+// NOTE: keep in sync with YARP::LibRubyParser::Buffer in lib/yarp.rb
typedef struct {
char *value;
size_t length;
size_t capacity;
} yp_buffer_t;