Ignore:
Timestamp:
Oct 6, 2007, 11:19:19 PM (18 years ago)
Author:
bird
Message:

moving globals into shinstance...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kash/mystring.c

    r809 r1198  
    111111
    112112int
    113 number(const char *s)
     113number(shinstance *psh, const char *s)
    114114{
    115115
    116116        if (! is_number(s))
    117                 error("Illegal number: %s", s);
     117                error(psh, "Illegal number: %s", s);
    118118        return atoi(s);
    119119}
Note: See TracChangeset for help on using the changeset viewer.