Skip to content

Commit dec08a7

Browse files
committed
add createfrombytes
1 parent 53e693b commit dec08a7

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.0.5
2+
3+
* support build msg from bytes
4+
15
# 1.0.4
26

37
* make get_bytes unsigned for object messages

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tibco_ems-sys"
3-
version = "1.0.4"
3+
version = "1.0.5"
44
authors = ["Jens Walter <[email protected]>"]
55
edition = "2018"
66
license = "Apache-2.0"

src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,11 @@ extern "C" {
420420
/// Create a message object.
421421
pub fn tibemsMsg_Create(
422422
message: *mut usize) -> tibems_status;
423+
/// Create a message object from data in a byte sequence.
424+
pub fn tibemsMsg_CreateFromBytes(
425+
message: usize,
426+
bytes: *mut c_void,
427+
) -> tibems_status;
423428
/// Destroy a message.
424429
pub fn tibemsMsg_Destroy(
425430
message: usize) -> tibems_status;

0 commit comments

Comments
 (0)