*----------------------------------------------------------------------
*/
-int
-Tcl_GetInt(interp, string, intPtr)
- Tcl_Interp *interp; /* Interpreter to use for error reporting. */
- char *string; /* String containing a (possibly signed)
+int
+Tcl_GetInt (
+ Tcl_Interp *interp, /* Interpreter to use for error reporting. */
+ char *string, /* String containing a (possibly signed)
* integer in a form acceptable to strtol. */
- int *intPtr; /* Place to store converted result. */
+ int *intPtr /* Place to store converted result. */
+)
{
char *end;
int i;
*----------------------------------------------------------------------
*/
-int
-Tcl_GetDouble(interp, string, doublePtr)
- Tcl_Interp *interp; /* Interpreter to use for error reporting. */
- char *string; /* String containing a floating-point number
+int
+Tcl_GetDouble (
+ Tcl_Interp *interp, /* Interpreter to use for error reporting. */
+ char *string, /* String containing a floating-point number
* in a form acceptable to strtod. */
- double *doublePtr; /* Place to store converted result. */
+ double *doublePtr /* Place to store converted result. */
+)
{
char *end;
double d;
*----------------------------------------------------------------------
*/
-int
-Tcl_GetBoolean(interp, string, boolPtr)
- Tcl_Interp *interp; /* Interpreter to use for error reporting. */
- char *string; /* String containing a boolean number
+int
+Tcl_GetBoolean (
+ Tcl_Interp *interp, /* Interpreter to use for error reporting. */
+ char *string, /* String containing a boolean number
* specified either as 1/0 or true/false or
* yes/no. */
- int *boolPtr; /* Place to store converted result, which
+ int *boolPtr /* Place to store converted result, which
* will be 0 or 1. */
+)
{
char c;
char lowerCase[10];