by Joel Limardo
Home | Twitter | LinkedIn | Consulting | About | RSS | Map
Areas:
Process
 
Technical
 
Projects:


Sun, 08 Jan 2017

Passing Vars in Inline::C

A simple example demonstrates passing data to and getting data from an C function when using Inline::C.



posted at: 15:04 | path: /technical/perlstuff/Inline/C | this entry | top

Inline::C

  1. Hello World
  2. Passing Vars
  3. Profiling
  4. Ease of Deployment


posted at: 13:51 | path: /technical/perlstuff/Inline/C | this entry | top


Fri, 16 Sep 2016

Hello World Using Inline::C

Very simple example:

 
#!/usr/bin/perl -w
 sayHello();
 use Inline C=><<'_start';
     void sayHello() {
       printf("hgello universe");
     }
 _start


posted at: 15:06 | path: /technical/perlstuff/Inline/C | this entry | top

© 2015-2017. All Rights Reserved. All original code appearing on this site is MIT Licensed unless otherwise noted.