Changeset 39e81f7 for Makefile.am


Ignore:
Timestamp:
Oct 3, 2009, 8:45:52 PM (12 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
0c4a190
Parents:
09ff1eb
git-author:
Nelson Elhage <nelhage@mit.edu> (10/02/09 22:25:31)
git-committer:
Nelson Elhage <nelhage@mit.edu> (10/03/09 20:45:52)
Message:
Return unicode strings to perl.

Define a new typedef, 'utf8', in perlglue.xs, and use a typemap that
indicates that values of type utf8* should be returned to perl as
Unicode strings.

There is no good reason that get_{data,config}_dir should not also
return unicode, except that making them do so crashes my barnowl in
some extremely strange and hard-to-debug manner.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile.am

    r8830f79f r39e81f7  
    4343GEN_H = owl_prototypes.h
    4444
     45TYPEMAP = typemap
     46
    4547BUILT_SOURCES = $(GEN_C) $(GEN_H)
    4648
     
    5456proto: owl_prototypes.h
    5557
    56 perlglue.c: perlglue.xs
    57         $(AM_V_GEN)perl $(XSUBPPDIR)/xsubpp $(XSUBPPFLAGS) -prototypes perlglue.xs > perlglue.c
     58perlglue.c: perlglue.xs $(TYPEMAP)
     59        $(AM_V_GEN)perl $(XSUBPPDIR)/xsubpp $(XSUBPPFLAGS) -prototypes perlglue.xs -typemap $(TYPEMAP) > perlglue.c
    5860
    5961varstubs.c: stubgen.pl variable.c
Note: See TracChangeset for help on using the changeset viewer.