… | |
… | |
341 | " unshift @INC, '" LIBDIR "';" |
341 | " unshift @INC, '" LIBDIR "';" |
342 | "}" |
342 | "}" |
343 | "" |
343 | "" |
344 | "use urxvt;" |
344 | "use urxvt;" |
345 | }; |
345 | }; |
346 | int argc = ARRAY_LENGTH(args); |
346 | int argc = ecb_array_length (args); |
347 | char **argv = args; |
347 | char **argv = args; |
348 | |
348 | |
349 | PERL_SYS_INIT3 (&argc, &argv, &environ); |
349 | PERL_SYS_INIT3 (&argc, &argv, &environ); |
350 | perl = perl_alloc (); |
350 | perl = perl_alloc (); |
351 | perl_construct (perl); |
351 | perl_construct (perl); |
… | |
… | |
788 | const_iv (XIMDontChange), |
788 | const_iv (XIMDontChange), |
789 | # endif |
789 | # endif |
790 | # endif |
790 | # endif |
791 | }; |
791 | }; |
792 | |
792 | |
793 | for (civ = const_iv + ARRAY_LENGTH(const_iv); civ-- > const_iv; ) |
793 | for (civ = const_iv + ecb_array_length (const_iv); civ-- > const_iv; ) |
794 | newCONSTSUB (stash, (char *)civ->name, newSViv (civ->iv)); |
794 | newCONSTSUB (stash, (char *)civ->name, newSViv (civ->iv)); |
795 | } |
795 | } |
796 | |
796 | |
797 | void |
797 | void |
798 | warn (const char *msg) |
798 | warn (const char *msg) |
… | |
… | |
1481 | # include "rsinc.h" |
1481 | # include "rsinc.h" |
1482 | # undef def |
1482 | # undef def |
1483 | # undef reserve |
1483 | # undef reserve |
1484 | }; |
1484 | }; |
1485 | |
1485 | |
1486 | rs = rslist + ARRAY_LENGTH(rslist); |
1486 | rs = rslist + ecb_array_length (rslist); |
1487 | |
1487 | |
1488 | if (*name) |
1488 | if (*name) |
1489 | { |
1489 | { |
1490 | do { |
1490 | do { |
1491 | if (rs-- == rslist) |
1491 | if (rs-- == rslist) |