Remove some unused functions
Originally committed to SVN as r6611.
This commit is contained in:
parent
7f427e01df
commit
909a0ca280
2 changed files with 0 additions and 33 deletions
|
@ -61,35 +61,6 @@
|
|||
|
||||
#include "utils.h"
|
||||
|
||||
|
||||
#ifndef __LINUX__
|
||||
|
||||
/// @brief Absolute of 64 bit int
|
||||
/// @param input
|
||||
/// @return
|
||||
///
|
||||
int64_t abs64(int64_t input) {
|
||||
if (input < 0) return -input;
|
||||
return input;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/// @brief Count number of matches of a substr
|
||||
/// @param parent
|
||||
/// @param child
|
||||
/// @return
|
||||
///
|
||||
int CountMatches(wxString parent,wxString child) {
|
||||
size_t pos = wxString::npos;
|
||||
int n = 0;
|
||||
while ((pos = parent.find(child,pos+1)) != wxString::npos) n++;
|
||||
return n;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// @brief Make a path relative to reference
|
||||
/// @param _path
|
||||
/// @param reference
|
||||
|
|
|
@ -55,10 +55,6 @@ class wxWindow;
|
|||
/// DOCME
|
||||
typedef std::vector<std::pair<int,int> > IntPairVector;
|
||||
|
||||
#ifndef __LINUX__
|
||||
int64_t abs64(int64_t input);
|
||||
#endif
|
||||
int CountMatches(wxString parent,wxString child);
|
||||
wxString MakeRelativePath(wxString path,wxString reference);
|
||||
wxString DecodeRelativePath(wxString path,wxString reference);
|
||||
wxString AegiFloatToString(double value);
|
||||
|
|
Loading…
Reference in a new issue