Skip to content

Commit

Permalink
Hard-tock gazeboVersionHeader -> simVersionHeader
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <[email protected]>
  • Loading branch information
methylDragon committed Jun 14, 2022
1 parent 5ce3d05 commit 95440b2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/cmd/cmdgazebo.rb.in
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,8 @@ has properly set the DYLD_LIBRARY_PATH environment variables."
Importer.extern 'const char *findFuelResource(const char *)'

if options.key?('version')
Importer.extern 'char *gazeboVersionHeader()'
puts Importer.gazeboVersionHeader.to_s
Importer.extern 'char *simVersionHeader()'
puts Importer.simVersionHeader.to_s
exit
end

Expand Down
2 changes: 1 addition & 1 deletion src/ign.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ extern "C" char *gzSimVersion()
}

//////////////////////////////////////////////////
extern "C" char *gazeboVersionHeader()
extern "C" char *simVersionHeader()
{
return strdup(GZ_SIM_VERSION_HEADER);
}
Expand Down
2 changes: 1 addition & 1 deletion src/ign.hh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ extern "C" char *gzSimVersion();

/// \brief Get the Gazebo version header.
/// \return C-string containing the Gazebo version information.
extern "C" char *gazeboVersionHeader();
extern "C" char *simVersionHeader();

/// \brief Set verbosity level
/// \param[in] _verbosity 0 to 4
Expand Down

0 comments on commit 95440b2

Please sign in to comment.