Browse Source

StringTools.isEOF -> isEof

Simon Krajewski 12 years ago
parent
commit
fcda647596
1 changed files with 2 additions and 2 deletions
  1. 2 2
      std/StringTools.hx

+ 2 - 2
std/StringTools.hx

@@ -328,7 +328,7 @@ class StringTools {
 		[index] is negative or exceeds [s].length.
 		[index] is negative or exceeds [s].length.
 		
 		
 		This operation is not guaranteed to work if [s] contains the \0
 		This operation is not guaranteed to work if [s] contains the \0
-		character. The method isEOF() can be used to check for that.
+		character. The method isEof() can be used to check for that.
 	**/
 	**/
 	public static inline function fastCodeAt( s : String, index : Int ) : Int untyped {
 	public static inline function fastCodeAt( s : String, index : Int ) : Int untyped {
 		#if neko
 		#if neko
@@ -357,7 +357,7 @@ class StringTools {
 	/*
 	/*
 		Tells if [c] represents the end-of-file (EOF) character.
 		Tells if [c] represents the end-of-file (EOF) character.
 	*/
 	*/
-	public static inline function isEOF( c : Int ) : Bool {
+	public static inline function isEof( c : Int ) : Bool {
 		#if (flash9 || cpp)
 		#if (flash9 || cpp)
 		return c == 0;
 		return c == 0;
 		#elseif flash8
 		#elseif flash8