Skip to content

Commit

Permalink
Re-gen.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed May 12, 2020
1 parent d7cf1e4 commit 90202d3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
11 changes: 10 additions & 1 deletion autosrc/rtpp_modman_fin.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ static void rtpp_modman_get_next_id_fin(void *pub) {
fprintf(stderr, "Method rtpp_modman@%p::get_next_id (rtpp_modman_get_next_id) is invoked after destruction\x0a", pub);
RTPP_AUTOTRAP();
}
static void rtpp_modman_get_ul_subc_h_fin(void *pub) {
fprintf(stderr, "Method rtpp_modman@%p::get_ul_subc_h (rtpp_modman_get_ul_subc_h) is invoked after destruction\x0a", pub);
RTPP_AUTOTRAP();
}
static void rtpp_modman_insert_fin(void *pub) {
fprintf(stderr, "Method rtpp_modman@%p::insert (rtpp_modman_insert) is invoked after destruction\x0a", pub);
RTPP_AUTOTRAP();
Expand All @@ -30,6 +34,9 @@ void rtpp_modman_fin(struct rtpp_modman *pub) {
RTPP_DBG_ASSERT(pub->get_next_id != (rtpp_modman_get_next_id_t)NULL);
RTPP_DBG_ASSERT(pub->get_next_id != (rtpp_modman_get_next_id_t)&rtpp_modman_get_next_id_fin);
pub->get_next_id = (rtpp_modman_get_next_id_t)&rtpp_modman_get_next_id_fin;
RTPP_DBG_ASSERT(pub->get_ul_subc_h != (rtpp_modman_get_ul_subc_h_t)NULL);
RTPP_DBG_ASSERT(pub->get_ul_subc_h != (rtpp_modman_get_ul_subc_h_t)&rtpp_modman_get_ul_subc_h_fin);
pub->get_ul_subc_h = (rtpp_modman_get_ul_subc_h_t)&rtpp_modman_get_ul_subc_h_fin;
RTPP_DBG_ASSERT(pub->insert != (rtpp_modman_insert_t)NULL);
RTPP_DBG_ASSERT(pub->insert != (rtpp_modman_insert_t)&rtpp_modman_insert_fin);
pub->insert = (rtpp_modman_insert_t)&rtpp_modman_insert_fin;
Expand Down Expand Up @@ -60,16 +67,18 @@ rtpp_modman_fintest()
assert(tp->pub.rcnt != NULL);
tp->pub.do_acct = (rtpp_modman_do_acct_t)((void *)0x1);
tp->pub.get_next_id = (rtpp_modman_get_next_id_t)((void *)0x1);
tp->pub.get_ul_subc_h = (rtpp_modman_get_ul_subc_h_t)((void *)0x1);
tp->pub.insert = (rtpp_modman_insert_t)((void *)0x1);
tp->pub.startall = (rtpp_modman_startall_t)((void *)0x1);
CALL_SMETHOD(tp->pub.rcnt, attach, (rtpp_refcnt_dtor_t)&rtpp_modman_fin,
&tp->pub);
RTPP_OBJ_DECREF(&(tp->pub));
CALL_TFIN(&tp->pub, do_acct);
CALL_TFIN(&tp->pub, get_next_id);
CALL_TFIN(&tp->pub, get_ul_subc_h);
CALL_TFIN(&tp->pub, insert);
CALL_TFIN(&tp->pub, startall);
assert((_naborts - naborts_s) == 4);
assert((_naborts - naborts_s) == 5);
}
const static void *_rtpp_modman_ftp = (void *)&rtpp_modman_fintest;
DATA_SET(rtpp_fintests, _rtpp_modman_ftp);
Expand Down
11 changes: 10 additions & 1 deletion autosrc/rtpp_module_if_fin.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ static void rtpp_module_if_start_fin(void *pub) {
fprintf(stderr, "Method rtpp_module_if@%p::start (rtpp_module_if_start) is invoked after destruction\x0a", pub);
RTPP_AUTOTRAP();
}
static void rtpp_module_if_ul_subc_handle_fin(void *pub) {
fprintf(stderr, "Method rtpp_module_if@%p::ul_subc_handle (rtpp_module_if_ul_subc_handle) is invoked after destruction\x0a", pub);
RTPP_AUTOTRAP();
}
void rtpp_module_if_fin(struct rtpp_module_if *pub) {
RTPP_DBG_ASSERT(pub->config != (rtpp_module_if_config_t)NULL);
RTPP_DBG_ASSERT(pub->config != (rtpp_module_if_config_t)&rtpp_module_if_config_fin);
Expand All @@ -50,6 +54,9 @@ void rtpp_module_if_fin(struct rtpp_module_if *pub) {
RTPP_DBG_ASSERT(pub->start != (rtpp_module_if_start_t)NULL);
RTPP_DBG_ASSERT(pub->start != (rtpp_module_if_start_t)&rtpp_module_if_start_fin);
pub->start = (rtpp_module_if_start_t)&rtpp_module_if_start_fin;
RTPP_DBG_ASSERT(pub->ul_subc_handle != (rtpp_module_if_ul_subc_handle_t)NULL);
RTPP_DBG_ASSERT(pub->ul_subc_handle != (rtpp_module_if_ul_subc_handle_t)&rtpp_module_if_ul_subc_handle_fin);
pub->ul_subc_handle = (rtpp_module_if_ul_subc_handle_t)&rtpp_module_if_ul_subc_handle_fin;
}
#if defined(RTPP_FINTEST)
#include <assert.h>
Expand Down Expand Up @@ -78,6 +85,7 @@ rtpp_module_if_fintest()
tp->pub.get_mconf = (rtpp_module_if_get_mconf_t)((void *)0x1);
tp->pub.load = (rtpp_module_if_load_t)((void *)0x1);
tp->pub.start = (rtpp_module_if_start_t)((void *)0x1);
tp->pub.ul_subc_handle = (rtpp_module_if_ul_subc_handle_t)((void *)0x1);
CALL_SMETHOD(tp->pub.rcnt, attach, (rtpp_refcnt_dtor_t)&rtpp_module_if_fin,
&tp->pub);
RTPP_OBJ_DECREF(&(tp->pub));
Expand All @@ -87,7 +95,8 @@ rtpp_module_if_fintest()
CALL_TFIN(&tp->pub, get_mconf);
CALL_TFIN(&tp->pub, load);
CALL_TFIN(&tp->pub, start);
assert((_naborts - naborts_s) == 6);
CALL_TFIN(&tp->pub, ul_subc_handle);
assert((_naborts - naborts_s) == 7);
}
const static void *_rtpp_module_if_ftp = (void *)&rtpp_module_if_fintest;
DATA_SET(rtpp_fintests, _rtpp_module_if_ftp);
Expand Down

0 comments on commit 90202d3

Please sign in to comment.