Skip to content

Commit a6f25f7

Browse files
blazraSTmoucha19-st
authored andcommitted
Change the notification serialization function return type to size_t
1 parent 3e1a147 commit a6f25f7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

compost_rpc/compost_rpc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1681,12 +1681,12 @@ def generate(self, endpoint: Endpoint = Endpoint.REMOTE) -> list[tuple[Path, str
16811681
/**
16821682
* {notif.__doc__}
16831683
*/
1684-
int16_t {notif.name}_store(uint8_t *tx_buf{params});
1684+
size_t {notif.name}_store(uint8_t *tx_buf{params});
16851685
"""
16861686
protocol_source += f"""/**
16871687
* Serialization function for {notif.name} notification
16881688
*/
1689-
int16_t {notif.name}_store(uint8_t *tx_buf{params})
1689+
size_t {notif.name}_store(uint8_t *tx_buf{params})
16901690
{{
16911691
struct CompostMsg tx = {{
16921692
.header = {{ .txn = 0 }},

0 commit comments

Comments
 (0)