Skip to content

Commit

Permalink
removed unnecessary arg
Browse files Browse the repository at this point in the history
  • Loading branch information
amokfa committed Aug 17, 2022
1 parent 663ca9a commit 0ad2997
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/dbcppp/CApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ extern "C"
DBCPPP_API uint64_t dbcppp_SignalMultiplexerSwitchValue(const dbcppp_Signal* sig);
DBCPPP_API uint64_t dbcppp_SignalMultiplexerValues_Size(const dbcppp_Signal* sig);
DBCPPP_API const dbcppp_SignalMultiplexerValue* dbcppp_SignalMultiplexerValues_Get(const dbcppp_Signal* sig, uint64_t i);
DBCPPP_API const char* dbcppp_SignalMultiplexerValue_SwitchName(const dbcppp_SignalMultiplexerValue* mux_val, uint64_t i);
DBCPPP_API const char* dbcppp_SignalMultiplexerValue_SwitchName(const dbcppp_SignalMultiplexerValue* mux_val);
DBCPPP_API uint64_t dbcppp_SignalMultiplexerValue_ValueRanges_Size(const dbcppp_SignalMultiplexerValue* mux_val);
DBCPPP_API const dbcppp_ValueRange* dbcppp_SignalMultiplexerValue_ValueRanges_Get(const dbcppp_SignalMultiplexerValue* mux_val, uint64_t i);
DBCPPP_API uint64_t dbcppp_SignalStartBit(const dbcppp_Signal* sig);
Expand Down
2 changes: 1 addition & 1 deletion src/libdbcppp/CApi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ extern "C"
auto sigi = reinterpret_cast<const SignalImpl*>(sig);
return reinterpret_cast<const dbcppp_SignalMultiplexerValue*>(&sigi->SignalMultiplexerValues_Get(i));
}
DBCPPP_API const char* dbcppp_SignalMultiplexerValue_SwitchName(const dbcppp_SignalMultiplexerValue* mux_val, uint64_t i)
DBCPPP_API const char* dbcppp_SignalMultiplexerValue_SwitchName(const dbcppp_SignalMultiplexerValue* mux_val)
{
auto sigi = reinterpret_cast<const ISignalMultiplexerValue*>(mux_val);
return sigi->SwitchName().c_str();
Expand Down

0 comments on commit 0ad2997

Please sign in to comment.