Grokbase Groups Perl xs July 2002
FAQ

Search Discussions

13 discussions - 23 posts

  • Check this out: #!/usr/bin/perl -w use strict; use Inline C = 'DATA'; my $a = [ 1 .. 10 ]; print "was: " . join(" ", @{$a}) . "\n"; dump_arrref($a); __DATA__ __C__ void dump_arrref(SV* arrref) { int ...
    Aaron J MackeyAaron J Mackey
    Jul 10, 2002 at 4:57 pm
    Jul 11, 2002 at 1:02 pm
  • I wrote a XS with perl embeded. When I bootstrap it with DynaLoader, it only works if I don't use any module. It doesn't work if I use a module which also use the bootstrap from the XS I created. ...
    Perl SimPerl Sim
    Jul 22, 2002 at 5:44 am
    Jul 23, 2002 at 1:35 am
  • Hi, I am writing an xs that retrieves something in a char-array that is a binary- string. I want to store this in a hash and do a: hv_store(result, "bitmap", 6, newSVpv(bitmap.bitmap, 0), 0); However ...
    Konstantinos AgourosKonstantinos Agouros
    Jul 27, 2002 at 7:12 pm
    Jul 29, 2002 at 6:56 am
  • Hi, This is probably very simple, but I can't seem to find the answer. This is my code (stripped) c_d3rdat(SV * id3dat, SV * cd3dat) INIT: int xs_id3dat[6]; CODE: /* From xs_id3dat to the array ...
    Thierry VermeerschThierry Vermeersch
    Jul 23, 2002 at 9:09 pm
    Jul 23, 2002 at 10:20 pm
  • I'm going to rephrase my question as it was probably not clear in my previous mail. I read the" XS language reference manual" and I found a syntax that is almost what I need. I found it at "The CODE: ...
    Thierry VermeerschThierry Vermeersch
    Jul 15, 2002 at 2:16 pm
    Jul 15, 2002 at 2:37 pm
  • Hi all, I am having a problem making an XS that should return a array. I would like to call a C++ function somewhat as follows: $id3err = Test1::d3rdat(@id3dat,$cd3dat); The problem is the definition ...
    Thierry VermeerschThierry Vermeersch
    Jul 14, 2002 at 4:45 pm
    Jul 15, 2002 at 12:30 pm
  • Hi all, I have created a XS file that calls a C++ subroutine. In the C++ header file, it is defined as follows: extern "C" void d3init ( char *cd3prj, char *cd3usr, char *cd3pas, char *cd3mon, char ...
    Thierry VermeerschThierry Vermeersch
    Jul 11, 2002 at 2:17 pm
    Jul 11, 2002 at 3:12 pm
  • Hi, This is the start of my code. c_d3ucti(char * cd3str) INIT: char * xs_cd3bef = "1 " ; char * xs_cd3aft = "2 " ; CODE: ....... I have currently initialized "xs_cd3bef " to a random string to ...
    Thierry VermeerschThierry Vermeersch
    Jul 25, 2002 at 12:57 pm
    Jul 25, 2002 at 12:57 pm
  • I solemnly promise that this will be the last time I advertise this on either mailing list. I will also keep this brief. Tim Jenness' and my long-awaited book on XS, embedding and internals, ...
    Simon CozensSimon Cozens
    Jul 19, 2002 at 1:56 pm
    Jul 19, 2002 at 1:56 pm
  • Hi all, I was searching on the web for XS solutions and I ran into this book: "Extending and Embedding Perl" Info can be found at http://www.manning.com/jenness/index.html It seems it was just issued ...
    Thierry VermeerschThierry Vermeersch
    Jul 17, 2002 at 6:48 am
    Jul 17, 2002 at 6:48 am
  • Brian's note about not using the Inline macro's was correct, although you can continue to use some of them, if you'd like. The main culprit is that Inline_Stack_Reset is NOT the same as PUSHMARK(SP). ...
    Aaron J MackeyAaron J Mackey
    Jul 12, 2002 at 5:24 pm
    Jul 12, 2002 at 5:24 pm
  • Hi all, I work on databases that I cannot access through DBI, Odbc or any other means of stanadard interfacing. The vendor "only" provides a dll which allows to use the predefined calls in C++ to ...
    Thierry VermeerschThierry Vermeersch
    Jul 9, 2002 at 8:40 pm
    Jul 9, 2002 at 8:40 pm
  • Hi, I have some XS code, that uses SetWindowsHookEx(...) to capture messages posted to a different thread. I got that running, but now I want to exchange information between the Callback procedure ...
    Bjoern HoehrmannBjoern Hoehrmann
    Jul 6, 2002 at 5:58 am
    Jul 6, 2002 at 5:58 am
Group Navigation
period‹ prev | Jul 2002 | next ›
Group Overview
groupxs @
categoriesperl
discussions13
posts23
users11
websiteperl.org
Archives