Skip to content

Commit f14b8da

Browse files
committed
Re-gen.
1 parent c606ec6 commit f14b8da

File tree

1 file changed

+43
-19
lines changed

1 file changed

+43
-19
lines changed

autosrc/rtpp_command_reply_fin.c

Lines changed: 43 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ static void rtpc_reply_append_fin(void *pub) {
1111
fprintf(stderr, "Method rtpc_reply@%p::append (rtpc_reply_append) is invoked after destruction\x0a", pub);
1212
RTPP_AUTOTRAP();
1313
}
14+
static void rtpc_reply_append_port_addr_fin(void *pub) {
15+
fprintf(stderr, "Method rtpc_reply@%p::append_port_addr (rtpc_reply_append_port_addr) is invoked after destruction\x0a", pub);
16+
RTPP_AUTOTRAP();
17+
}
18+
static void rtpc_reply_append_port_addr_s_fin(void *pub) {
19+
fprintf(stderr, "Method rtpc_reply@%p::append_port_addr_s (rtpc_reply_append_port_addr_s) is invoked after destruction\x0a", pub);
20+
RTPP_AUTOTRAP();
21+
}
1422
static void rtpc_reply_appendf_fin(void *pub) {
1523
fprintf(stderr, "Method rtpc_reply@%p::appendf (rtpc_reply_appendf) is invoked after destruction\x0a", pub);
1624
RTPP_AUTOTRAP();
@@ -23,16 +31,20 @@ static void rtpc_reply_deliver_fin(void *pub) {
2331
fprintf(stderr, "Method rtpc_reply@%p::deliver (rtpc_reply_deliver) is invoked after destruction\x0a", pub);
2432
RTPP_AUTOTRAP();
2533
}
26-
static void rtpc_reply_error_fin(void *pub) {
27-
fprintf(stderr, "Method rtpc_reply@%p::error (rtpc_reply_error) is invoked after destruction\x0a", pub);
34+
static void rtpc_reply_deliver_error_fin(void *pub) {
35+
fprintf(stderr, "Method rtpc_reply@%p::deliver_error (rtpc_reply_deliver_error) is invoked after destruction\x0a", pub);
36+
RTPP_AUTOTRAP();
37+
}
38+
static void rtpc_reply_deliver_number_fin(void *pub) {
39+
fprintf(stderr, "Method rtpc_reply@%p::deliver_number (rtpc_reply_deliver_number) is invoked after destruction\x0a", pub);
2840
RTPP_AUTOTRAP();
2941
}
30-
static void rtpc_reply_number_fin(void *pub) {
31-
fprintf(stderr, "Method rtpc_reply@%p::number (rtpc_reply_number) is invoked after destruction\x0a", pub);
42+
static void rtpc_reply_deliver_ok_fin(void *pub) {
43+
fprintf(stderr, "Method rtpc_reply@%p::deliver_ok (rtpc_reply_deliver_ok) is invoked after destruction\x0a", pub);
3244
RTPP_AUTOTRAP();
3345
}
34-
static void rtpc_reply_ok_fin(void *pub) {
35-
fprintf(stderr, "Method rtpc_reply@%p::ok (rtpc_reply_ok) is invoked after destruction\x0a", pub);
46+
static void rtpc_reply_deliver_port_addr_fin(void *pub) {
47+
fprintf(stderr, "Method rtpc_reply@%p::deliver_port_addr (rtpc_reply_deliver_port_addr) is invoked after destruction\x0a", pub);
3648
RTPP_AUTOTRAP();
3749
}
3850
static void rtpc_reply_reserve_fin(void *pub) {
@@ -41,22 +53,28 @@ static void rtpc_reply_reserve_fin(void *pub) {
4153
}
4254
static const struct rtpc_reply_smethods rtpc_reply_smethods_fin = {
4355
.append = (rtpc_reply_append_t)&rtpc_reply_append_fin,
56+
.append_port_addr = (rtpc_reply_append_port_addr_t)&rtpc_reply_append_port_addr_fin,
57+
.append_port_addr_s = (rtpc_reply_append_port_addr_s_t)&rtpc_reply_append_port_addr_s_fin,
4458
.appendf = (rtpc_reply_appendf_t)&rtpc_reply_appendf_fin,
4559
.commit = (rtpc_reply_commit_t)&rtpc_reply_commit_fin,
4660
.deliver = (rtpc_reply_deliver_t)&rtpc_reply_deliver_fin,
47-
.error = (rtpc_reply_error_t)&rtpc_reply_error_fin,
48-
.number = (rtpc_reply_number_t)&rtpc_reply_number_fin,
49-
.ok = (rtpc_reply_ok_t)&rtpc_reply_ok_fin,
61+
.deliver_error = (rtpc_reply_deliver_error_t)&rtpc_reply_deliver_error_fin,
62+
.deliver_number = (rtpc_reply_deliver_number_t)&rtpc_reply_deliver_number_fin,
63+
.deliver_ok = (rtpc_reply_deliver_ok_t)&rtpc_reply_deliver_ok_fin,
64+
.deliver_port_addr = (rtpc_reply_deliver_port_addr_t)&rtpc_reply_deliver_port_addr_fin,
5065
.reserve = (rtpc_reply_reserve_t)&rtpc_reply_reserve_fin,
5166
};
5267
void rtpc_reply_fin(struct rtpc_reply *pub) {
5368
RTPP_DBG_ASSERT(pub->smethods->append != (rtpc_reply_append_t)NULL);
69+
RTPP_DBG_ASSERT(pub->smethods->append_port_addr != (rtpc_reply_append_port_addr_t)NULL);
70+
RTPP_DBG_ASSERT(pub->smethods->append_port_addr_s != (rtpc_reply_append_port_addr_s_t)NULL);
5471
RTPP_DBG_ASSERT(pub->smethods->appendf != (rtpc_reply_appendf_t)NULL);
5572
RTPP_DBG_ASSERT(pub->smethods->commit != (rtpc_reply_commit_t)NULL);
5673
RTPP_DBG_ASSERT(pub->smethods->deliver != (rtpc_reply_deliver_t)NULL);
57-
RTPP_DBG_ASSERT(pub->smethods->error != (rtpc_reply_error_t)NULL);
58-
RTPP_DBG_ASSERT(pub->smethods->number != (rtpc_reply_number_t)NULL);
59-
RTPP_DBG_ASSERT(pub->smethods->ok != (rtpc_reply_ok_t)NULL);
74+
RTPP_DBG_ASSERT(pub->smethods->deliver_error != (rtpc_reply_deliver_error_t)NULL);
75+
RTPP_DBG_ASSERT(pub->smethods->deliver_number != (rtpc_reply_deliver_number_t)NULL);
76+
RTPP_DBG_ASSERT(pub->smethods->deliver_ok != (rtpc_reply_deliver_ok_t)NULL);
77+
RTPP_DBG_ASSERT(pub->smethods->deliver_port_addr != (rtpc_reply_deliver_port_addr_t)NULL);
6078
RTPP_DBG_ASSERT(pub->smethods->reserve != (rtpc_reply_reserve_t)NULL);
6179
RTPP_DBG_ASSERT(pub->smethods != &rtpc_reply_smethods_fin &&
6280
pub->smethods != NULL);
@@ -85,27 +103,33 @@ rtpc_reply_fintest()
85103
assert(tp->pub.rcnt != NULL);
86104
static const struct rtpc_reply_smethods dummy = {
87105
.append = (rtpc_reply_append_t)((void *)0x1),
106+
.append_port_addr = (rtpc_reply_append_port_addr_t)((void *)0x1),
107+
.append_port_addr_s = (rtpc_reply_append_port_addr_s_t)((void *)0x1),
88108
.appendf = (rtpc_reply_appendf_t)((void *)0x1),
89109
.commit = (rtpc_reply_commit_t)((void *)0x1),
90110
.deliver = (rtpc_reply_deliver_t)((void *)0x1),
91-
.error = (rtpc_reply_error_t)((void *)0x1),
92-
.number = (rtpc_reply_number_t)((void *)0x1),
93-
.ok = (rtpc_reply_ok_t)((void *)0x1),
111+
.deliver_error = (rtpc_reply_deliver_error_t)((void *)0x1),
112+
.deliver_number = (rtpc_reply_deliver_number_t)((void *)0x1),
113+
.deliver_ok = (rtpc_reply_deliver_ok_t)((void *)0x1),
114+
.deliver_port_addr = (rtpc_reply_deliver_port_addr_t)((void *)0x1),
94115
.reserve = (rtpc_reply_reserve_t)((void *)0x1),
95116
};
96117
tp->pub.smethods = &dummy;
97118
CALL_SMETHOD(tp->pub.rcnt, attach, (rtpp_refcnt_dtor_t)&rtpc_reply_fin,
98119
&tp->pub);
99120
RTPP_OBJ_DECREF(&(tp->pub));
100121
CALL_TFIN(&tp->pub, append);
122+
CALL_TFIN(&tp->pub, append_port_addr);
123+
CALL_TFIN(&tp->pub, append_port_addr_s);
101124
CALL_TFIN(&tp->pub, appendf);
102125
CALL_TFIN(&tp->pub, commit);
103126
CALL_TFIN(&tp->pub, deliver);
104-
CALL_TFIN(&tp->pub, error);
105-
CALL_TFIN(&tp->pub, number);
106-
CALL_TFIN(&tp->pub, ok);
127+
CALL_TFIN(&tp->pub, deliver_error);
128+
CALL_TFIN(&tp->pub, deliver_number);
129+
CALL_TFIN(&tp->pub, deliver_ok);
130+
CALL_TFIN(&tp->pub, deliver_port_addr);
107131
CALL_TFIN(&tp->pub, reserve);
108-
assert((_naborts - naborts_s) == 8);
132+
assert((_naborts - naborts_s) == 11);
109133
}
110134
DATA_SET(rtpp_fintests, rtpc_reply_fintest);
111135
#endif /* RTPP_FINTEST */

0 commit comments

Comments
 (0)