Teach new_tarval_from_str_int() to parse binary numbers: 0[bB][01]+.
[libfirm] / ir / tv / strcalc.h
index 5f5bb69..a2e9428 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
+ * Copyright (C) 1995-2011 University of Karlsruhe.  All right reserved.
  *
  * This file is part of libFirm.
  *
@@ -22,7 +22,6 @@
  * @brief    Provides basic mathematical operations on values represented as strings.
  * @date     2003
  * @author   Mathias Heil
- * @version  $Id$
  * @brief
  *
  * The module uses a string to represent values, and provides operations
@@ -196,7 +195,7 @@ void sign_extend(void *buffer, ir_mode *mode);
  * @return 1 if ok, 0 in case of parse error
  */
 int sc_val_from_str(char sign, unsigned base, const char *str,
-                    unsigned int len, void *buffer);
+                    size_t len, void *buffer);
 
 /** create a value from a long */
 void sc_val_from_long(long l, void *buffer);