void icl_demo_scope_selftest ( void) { icl_scope_t *scope; icl_demo_scope_t *self; scope = icl_scope_new (); icl_demo_scope_new_in_scope (&self, scope, "Santorini", "0x012201"); icl_scope_destroy (&scope); }
void icl_demo_scope_selftest ( void) { icl_scope_t *scope; icl_demo_scope_t *self; #if (defined (BASE_ANIMATE) || defined (BASE_ANIMATE_ICL_DEMO_SCOPE) || defined (BASE_ANIMATE_ICL_DEMO_SCOPE_SELFTEST)) if (icl_demo_scope_animating) icl_console_print ("<icl_demo_scope_selftest_start" #if (defined (BASE_THREADSAFE)) " thread=\"%pp\"" #endif "/>" #if (defined (BASE_THREADSAFE)) , apr_os_thread_current () #endif ); #endif #if (defined (BASE_TRACE) || defined (BASE_TRACE_ICL_DEMO_SCOPE) || defined (BASE_TRACE_ICL_DEMO_SCOPE_SELFTEST)) icl_trace_record (NULL, icl_demo_scope_dump, 3); #endif #if (defined (BASE_STATS) || defined (BASE_STATS_ICL_DEMO_SCOPE) || defined (BASE_STATS_ICL_DEMO_SCOPE_SELFTEST)) icl_stats_inc ("icl_demo_scope_selftest", &s_icl_demo_scope_selftest_stats); #endif scope = icl_scope_new (); icl_demo_scope_new_in_scope (&self, scope, "Santorini", "0x012201"); icl_scope_destroy (&scope); #if (defined (BASE_TRACE) || defined (BASE_TRACE_ICL_DEMO_SCOPE) || defined (BASE_TRACE_ICL_DEMO_SCOPE_SELFTEST)) icl_trace_record (NULL, icl_demo_scope_dump, 0x10000 + 3); #endif #if (defined (BASE_ANIMATE) || defined (BASE_ANIMATE_ICL_DEMO_SCOPE) || defined (BASE_ANIMATE_ICL_DEMO_SCOPE_SELFTEST)) if (icl_demo_scope_animating) icl_console_print ("<icl_demo_scope_selftest_finish" #if (defined (BASE_THREADSAFE)) " thread=\"%pp\"" #endif "/>" #if (defined (BASE_THREADSAFE)) , apr_os_thread_current () #endif ); #endif }