Skip to content

Commit

Permalink
old comments removed
Browse files Browse the repository at this point in the history
  • Loading branch information
timothy place committed Feb 27, 2015
1 parent e46745f commit b244351
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 32 deletions.
27 changes: 1 addition & 26 deletions Foundation/library/JamomaFoundation.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#compiler: gcc47

sources:
- source/TTFoundation.cpp
Expand Down Expand Up @@ -75,41 +74,17 @@ sources:
- tests/TTNodeLib.test.cpp
- tests/TTObjectTest.cpp
- tests/TTInterpolate.test.cpp
# - win source/TTNodeLib.cpp
# - win source/TTNode.cpp
# - win source/TTAddress.cpp
# - win source/TTAddressTable.cpp
# - win source/TTAddressCache.cpp
# - win source/TTNodeDirectory.cpp
# - win tests/TTNodeLib.test.cpp
#
# See the note below about us not including the NodeLib on Linux (or iOS)


includes:
- "includes"
- "tests"
- "Mersenne-1.1"
- "boost"

#libraries:
# - win RELEASE boost/lib-windows/libboost_regex-vc90-mt-s-1_46.lib
# - win DEBUG boost/lib-windows/libboost_regex-vc90-mt-sgd-1_46.lib
# - win RELEASE boost/lib-windows/libboost_filesystem-vc90-mt-s-1_46.lib
# - win DEBUG boost/lib-windows/libboost_filesystem-vc90-mt-sgd-1_46.lib
# - win RELEASE boost/lib-windows/libboost_system-vc90-mt-s-1_46.lib
# - win DEBUG boost/lib-windows/libboost_system-vc90-mt-sgd-1_46.lib

defines:
- TTFOUNDATION_EXPORTS
- BOOST_REGEX
- BOOST_REGEX_USE_C_LOCALE
# - DISABLE_NODELIB

# BOOST_REGEX_USE_C_LOCALE is a Boost Regex definition option (see boost/regex/user.hpp file)

# For the moment we aren't going to add the dependency on Boost for the Linux platforms.
# We do have compiled libs for the i386 arch but not for 64-bit or ARM architectures.
# The only real dependency we have for Boost is the NodeLib.

frameworks:
- Carbon
Expand Down
8 changes: 2 additions & 6 deletions Foundation/library/includes/TTString.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
In many cases we try to mimic the interface of std::string for ease of compatibility.
FROM http://cboard.cprogramming.com/cplusplus-programming/86598-std-vector-char-vs-std-string.html
1. std::string has a huge number of string-related functions which make it easy to manipulate strings.
2. std::vector, on the other hand, is guaranteed to be contiguous in memory -- that is, &data[x + 1] = &data[x] + sizeof(data[x]).
Expand Down Expand Up @@ -373,8 +372,6 @@ class TTString : public std::vector<char> {
void TTFOUNDATION_EXPORT random();



// TTBoolean toTTInt32( const TTString & str, TTInt32 & convertedInt )
TTBoolean toTTInt32(TTInt32& convertedInt) const
{
char * pEnd;
Expand All @@ -383,7 +380,7 @@ class TTString : public std::vector<char> {
return *pEnd == 0;
}

// TTBoolean toTTUInt32( const TTString & str, TTInt32 & convertedUInt )

TTBoolean toTTUInt32(TTUInt32& convertedUInt) const
{
char * pEnd;
Expand All @@ -395,9 +392,8 @@ class TTString : public std::vector<char> {
}

/* note : isTTFloat32 works only because the TTInt32 case is matched before
see in TTValue::fromString method
see in TTValue::fromString method
*/
// TTBoolean toTTFloat32( const TTString & str, TTFloat32 & convertedFloat )
TTBoolean toTTFloat32(TTFloat32& convertedFloat) const
{
char * pEnd;
Expand Down

0 comments on commit b244351

Please sign in to comment.