that ;)
Cheers
ambs
--
Alberto Simões - Departamento de Informática - Universidade do Minho
Campus de Gualtar - 4710-057 Braga - Portugal
Beware of bugs in the above code;
I have only proved it correct, not tried it.
--- Donald Knuth
Hello,
I am used to write XS code (well, simple code) for C libraries.
I never did anything for C++ (and I do not know much about C++), but
I'll need to write a simple interface.
Mostly, I need to call a method inside a namespace, and that should be
enough.
Can you suggest any module that
Hello
Although most architectures are compiling my module correctly, I am
getting some complains for some random linuxes:
http://www.cpantesters.org/cpan/report/294f5cfc-3507-11e1-9d6f-f6dbfa7543f5
http://www.cpantesters.org/cpan/report/c9dafc5a-34fb-11e1-9d6f-f6dbfa7543f5
Hello
Usually I gdb perl and can debug (more or less) my XS code. But now I
have a situation that is making me crazy.
Module compiles an interface to a C++ library.
The interface was swig-generated.
The C library seems to work properly (as some executables that ship with
the library work).
On 16/01/12 19:52, Marvin Humphrey wrote:
On Mon, Jan 16, 2012 at 07:05:13PM +, Alberto Simões wrote:
GDB doesn't show much info as well:
Any idea where should I look?
I'd advocate trying a run under Valgrind, which can sometimes reveal the cause
for a problem when GDB only reveals
On 16/01/12 21:28, Marvin Humphrey wrote:
On Mon, Jan 16, 2012 at 09:11:27PM +, Alberto Simões wrote:
I do not use valgrind for some time, but this seems awkward:
[ambs@stravinski FreeLing-old]$ valgrind -- /usr/bin/perl -I blib/arch/
-I blib/lib/ t/01-bindings/01-tokenizer.t
==13831
Hello
That issue got fixed in my case without doing anything interesting :S
Sorry for not being able to help :(
On 23/02/12 06:26, David Oswald wrote:
Alberto (or anyone else):
Have you made any progress on this issue? I'm seeing the same problem
in a couple of smoke test failures on
Hello
I really need to make my code work with XS and wchar_t.
As far as I can tell there is no typemap for that in the core:
xs/NATools.c:733: warning: passing argument 3 of ‘Perl_sv_setpv’ from
incompatible pointer type
I googled for that, and found a typemap, but I do not understand how
On 27/02/12 17:21, Marvin Humphrey wrote:
On Mon, Feb 27, 2012 at 04:29:57PM +, Alberto Simões wrote:
I googled for that, and found a typemap, but I do not understand how
typemaps work.
Take a look at the Foo.c file that is generated off of your Foo.xs file. XS
typemaps are not very
Stolen from lucene interface on CPAN.
\o/
On 27/02/12 16:29, Alberto Simões wrote:
Hello
I really need to make my code work with XS and wchar_t.
As far as I can tell there is no typemap for that in the core:
xs/NATools.c:733: warning: passing argument 3 of ‘Perl_sv_setpv’ from
incompatible
Hello,
Anybody with experience with Swig?
Does it usually takes care on freeing unused variables?
Packages generated by Swig include a DESTROY method:
sub DESTROY {
return unless $_[0]-isa('HASH');
my $self = tied(%{$_[0]});
return unless defined $self;
delete
11 matches
Mail list logo