Commit 4cd65ff9 authored by Elwin Pater's avatar Elwin Pater Committed by Michael Weber

Changed bool to int in exported functions

parent ede72e15
......@@ -1934,7 +1934,7 @@ void dve_compiler::gen_transition_info()
/////////////////////////////////////
// write get_active
line( "extern \"C\" bool get_active( state_struct_t *in, int t ) " );
line( "extern \"C\" int get_active( state_struct_t *in, int t ) " );
block_begin();
line("switch(t)");
block_begin();
......@@ -2066,7 +2066,7 @@ void dve_compiler::gen_transition_info()
}
// export the guard value for this state
line ("extern \"C\" const bool get_guard(void* model, int g, state_struct_t* src) " );
line ("extern \"C\" int get_guard(void* model, int g, state_struct_t* src) " );
block_begin();
line ("(void)model;");
line("switch(g)");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment