Grokbase Groups Perl xs July 2004

Search Discussions

7 discussions - 39 posts

  • Hi, I have an embedded PERL script which is parsed and run from a C++ app on Win32 platform. The C++ app is MFC based without any console! static PerlInterpreter *my_perl; my_perl = perl_alloc(); ...
    Gopakumar AmbatGopakumar Ambat
    Jul 27, 2004 at 10:09 am
    Aug 13, 2004 at 6:52 am
  • Hi, Consider the following Inline C script: use warnings; use Inline C = <<'EOC'; void func_1() { printf("SOMETHING"); } void func_2() { printf("something\n"); } EOC #$| = 1; #makes no difference ...
    Jul 13, 2004 at 5:11 am
    Jul 14, 2004 at 9:51 pm
  • First of all, I am completely overwhelmed with XS, so this may be a dumb question ;-) Good or bad, I want to be able to share a double with C and Perl. The complicated part is that I need to be able ...
    Tim PushorTim Pushor
    Jul 6, 2004 at 9:56 pm
    Jul 19, 2004 at 11:53 am
  • Hi all, I would like to make my XSUBS callable in an OO style for various reasons (mostly because of namespace). Do I just make my C XSUBS take a hash reference as the first argument? Then can I just ...
    Tim PushorTim Pushor
    Jul 10, 2004 at 3:18 pm
    Jul 11, 2004 at 9:04 pm
  • Hi, I can't seem to figure out a way to get this right:(... I have a C function which accepts a char*, a true/false flag, another char* and an int for the size of the last buffer... void myTest ...
    Gopakumar AmbatGopakumar Ambat
    Jul 8, 2004 at 3:12 pm
    Jul 12, 2004 at 7:07 am
  • Hi, Why does 'looks_like_number()' report that an SvRV looks like a number ? Are there occasions where programmers want to be able to perform arithmetic operations on the address value of a perl ...
    Jul 21, 2004 at 7:22 am
    Jul 21, 2004 at 10:38 pm
  • Is this the way to go? perl_len = (SvPOK(sv) ? SvCUR(sv) : strlen(SvPV(sv, Pl_na)); That is, if sv is a string, then use SvCUR, else use strlen on the stringified value? Or is there a direct function ...
    Erland SommarskogErland Sommarskog
    Jul 12, 2004 at 6:35 am
    Jul 12, 2004 at 5:55 pm
Group Navigation
period‹ prev | Jul 2004 | next ›
Group Overview
groupxs @