trick/trick_source/sim_services/Sie/sie_c_intf.cpp
jmpenn fccf32093b
Explicitly specify void arg for C functions that take no arguments. (#670)
* Clock empty args to void

* command_line func empty args to void

* DataRecord func empty args to void

* debug_pause func empty args to void

* echojobs func empty args to void

* ExternalApplication func empty args to void

* FrameLog func empty args to void

* MasterSlave func empty args to void

* MonteCarlo func empty args to void

* outdllist func proto empty args to void

* sie func empty args to void

* SimTime func empty args to void

* UnitTest func empty args to void

* var_server func empty args to void

* wcs func empty args to void
2018-09-19 11:25:04 -05:00

30 lines
612 B
C++

#include "trick/Sie.hh"
#include "trick/sie_c_intf.h"
extern Trick::Sie * the_sie ;
extern "C" void sie_print_xml(void) {
if ( the_sie != NULL ) {
the_sie->sie_print_xml() ;
}
}
extern "C" void sie_class_attr_map_print_xml(void) {
if ( the_sie != NULL ) {
the_sie->class_attr_map_print_xml() ;
}
}
extern "C" void sie_enum_attr_map_print_xml(void) {
if ( the_sie != NULL ) {
the_sie->enum_attr_map_print_xml() ;
}
}
extern "C" void sie_top_level_objects_print_xml(void) {
if ( the_sie != NULL ) {
the_sie->top_level_objects_print_xml() ;
}
}