Changeset 1a5db78


Ignore:
Timestamp:
Sep 28, 2009, 5:04:47 PM (11 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
1373d35
Parents:
fbadb37
Message:
perlglue.xs: Always return const char * to Perl instead of char *.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perlglue.xs

    rfbadb37 r1a5db78  
    2929MODULE = BarnOwl                PACKAGE = BarnOwl
    3030
    31 char *
     31const char *
    3232command(cmd, ...)
    3333        const char *cmd
     
    100100                i = owl_zwrite_create_and_send_from_line(cmd, msg);
    101101
    102 char *
     102const char *
    103103ztext_stylestrip(ztext)
    104104        const char *ztext
     
    113113                if (rv) owl_free(rv);
    114114
    115 char *
     115const char *
    116116zephyr_smartstrip_user(in)
    117117        const char *in
     
    128128                owl_free(rv);
    129129
    130 char *
     130const char *
    131131zephyr_getsubs()
    132132        PREINIT:
     
    309309        }
    310310
    311 char *
     311const char *
    312312wordwrap(in, cols)
    313313        const char *in
     
    553553                RETVAL
    554554
    555 char *
     555const char *
    556556get_region()
    557557        PREINIT:
Note: See TracChangeset for help on using the changeset viewer.