Doug MacEachern wrote: > On Wed, 20 Mar 2002, Stas Bekman wrote: > > >>I think this is the most suitable place to add the typemap for 'double'. >>Is that correct? I'm just writing a function that returns double. > > > ? 'double' is already in the default perl lib/ExtUtils/typemap.
It doesn't work if you use it in the map file. Consider a macro: #define mpxs_Apache__Foo_bar(x, y) pow(x, y) and then in the map file: double:DEFINE_bar | | double:x, double:y during xs_generate it cannot resolve 'double': unknown typemap: 'double' at /home/stas/apache.org/mp-sb/lib/ModPerl/TypeMap.pm line 229. -- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
