Method: RCSimCinterface.rcsim_set_systemT_scope
- Defined in:
- ext/hruby_sim/hruby_rcsim_build.c
.rcsim_set_systemT_scope(systemTV, scopeV) ⇒ Object
Sets the scope for a C system type.
1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 |
# File 'ext/hruby_sim/hruby_rcsim_build.c', line 1558 VALUE rcsim_set_systemT_scope(VALUE mod, VALUE systemTV, VALUE scopeV) { /* Get the C system type from the Ruby value. */ SystemT systemT; value_to_rcsim(SystemTS,systemTV,systemT); /* Get the C scope from the Ruby value. */ Scope scope; value_to_rcsim(ScopeS,scopeV,scope); /* Set the scope. */ systemT->scope = scope; return systemTV; } |