From 047791d61340f8b727be06d37b613b3914dec957 Mon Sep 17 00:00:00 2001 From: Determinant Date: Tue, 11 Jun 2019 19:27:55 -0400 Subject: ... --- include/salticidae/msg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/salticidae/msg.h') diff --git a/include/salticidae/msg.h b/include/salticidae/msg.h index 7e8032b..2f597fc 100644 --- a/include/salticidae/msg.h +++ b/include/salticidae/msg.h @@ -285,9 +285,9 @@ typedef struct msg_t msg_t; extern "C" { #endif -msg_t *msg_new(_opcode_t opcode, bytearray_t *_moved_payload); +msg_t *msg_new_moved_from_bytearray(_opcode_t opcode, bytearray_t *_moved_payload); void msg_free(msg_t *msg); -datastream_t *msg_get_payload(const msg_t *msg); +datastream_t *msg_consume_payload(const msg_t *msg); _opcode_t msg_get_opcode(const msg_t *msg); #ifdef __cplusplus -- cgit v1.2.3