[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using Perl's cc
From: |
Eli Zaretskii |
Subject: |
Re: Using Perl's cc |
Date: |
Sat, 11 Jul 2015 20:48:06 +0300 |
> Date: Sat, 11 Jul 2015 18:17:41 +0100
> From: Gavin Smith <address@hidden>
> Cc: address@hidden
>
> Leave all the flags as they are and remove the #undef line I
> recommended. The problem is that, for whatever reason, the use of
> "malloc" in xspara_hello is being redirected to a Perl version, which
> is then trying to use the Perl API. This needs a dTHX line at the
> start of the function, which I'll add.
I think using Perl memory allocation is a must if we are going to pass
the allocated memory to Perl functions. At least on Windows, each
module will dynamically link to the version of malloc that the linker
saw at link time, so if we don't use Perl APIs for allocating memory,
we will most probably use a different implementation of malloc, which
might cause trouble.
- Re: Using Perl's cc, (continued)
- Re: Using Perl's cc, Gavin Smith, 2015/07/05
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/05
- Re: Using Perl's cc, Gavin Smith, 2015/07/05
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/05
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/11
- Re: Using Perl's cc, Gavin Smith, 2015/07/11
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/11
- Re: Using Perl's cc, Gavin Smith, 2015/07/11
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/11
- Re: Using Perl's cc, Gavin Smith, 2015/07/11
- Re: Using Perl's cc,
Eli Zaretskii <=
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/11
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/11
- Re: Using Perl's cc, Gavin Smith, 2015/07/11
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/11
- Re: Using Perl's cc, Gavin Smith, 2015/07/11
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/11
- Re: Using Perl's cc, Gavin Smith, 2015/07/11
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/11
- Re: Using Perl's cc, Gavin Smith, 2015/07/11
- Re: Using Perl's cc, Eli Zaretskii, 2015/07/11