Ignore:
Timestamp:
Oct 9, 2008, 7:36:19 AM (17 years ago)
Author:
bird
Message:

kmk: More memchr and less strlen for simple assignments (var:=val).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/variable.h

    r1805 r1808  
    141141#else  /* KMK */
    142142# define allocated_variable_expand(line) \
    143   allocated_variable_expand_2 (line, -1)
    144 char *allocated_variable_expand_2(const char *line, long length);
     143  allocated_variable_expand_2 (line, -1, NULL)
     144char *allocated_variable_expand_2(const char *line, long length, unsigned int *value_len);
    145145#endif
    146146char *expand_argument (const char *str, const char *end);
Note: See TracChangeset for help on using the changeset viewer.