Inline::Struct 0.06
Sponsored Links
Inline::Struct 0.06 Ranking & Summary
File size:
0.008 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1205
Date added:
2006-07-06
Publisher:
Neil Watkiss
Inline::Struct 0.06 description
Inline::Struct is a Perl module that manipulate C structures directly from Perl.
SYNOPSIS
use Inline C => Config => Structs => [Foo];
my $obj = Inline::Struct::Foo->new;
$obj->num(10);
$obj->str("Hello");
myfunc($obj);
__END__
__C__
struct Foo {
int num;
char *str;
};
void myfunc(Foo *f) {
printf("myfunc: num=%i, str=%sn", f->num, f->str);
}
This complete program prints:
myfunc: num=10, str=Hello
Inline::Struct is not a new language. Its a language extension designed to be used by Inline::C. It parses struct definitions and creates typemaps and XS code which bind each struct into a Perl class. This code is passed to Inline::C, which compiles it in the normal way.
NOTE: Inline::Struct parses only C-style structs. It doesnt know about any C++ extensions to structs like scopes, constructors or methods. If you want such functionality you should use Inline::CPP to parse your structs.
SYNOPSIS
use Inline C => Config => Structs => [Foo];
my $obj = Inline::Struct::Foo->new;
$obj->num(10);
$obj->str("Hello");
myfunc($obj);
__END__
__C__
struct Foo {
int num;
char *str;
};
void myfunc(Foo *f) {
printf("myfunc: num=%i, str=%sn", f->num, f->str);
}
This complete program prints:
myfunc: num=10, str=Hello
Inline::Struct is not a new language. Its a language extension designed to be used by Inline::C. It parses struct definitions and creates typemaps and XS code which bind each struct into a Perl class. This code is passed to Inline::C, which compiles it in the normal way.
NOTE: Inline::Struct parses only C-style structs. It doesnt know about any C++ extensions to structs like scopes, constructors or methods. If you want such functionality you should use Inline::CPP to parse your structs.
Inline::Struct 0.06 Screenshot
Inline::Struct 0.06 Keywords
Struct 0.06
Perl
Perl module
directly from
c structures
c
str
NUM
structs
structures
module
Inline::Struct
InlineStruct
Inline::Struct 0.06
Libraries
Programming
Bookmark Inline::Struct 0.06
Inline::Struct 0.06 Copyright
WareSeeker periodically updates pricing and software information of Inline::Struct 0.06 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Inline::Struct 0.06 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
cell structures
turbo c structures
perl modules
c structures tutorial
r c c structures
install perl module
c structures pointers
initializing c structures
installing perl module
a c structures
c structures with pointers
xml parser perl module
c structures programs
atrpms perl module helper
c structures memory
f and c structures
perl module tutorial
C++ structures and classes
Related Software
Inline-Support is a Perl module created to support information for Inline.pm and related modules. Free Download
Inline::C is a Perl module that can Write Perl Subroutines in C. Free Download
Construct is a python module for defining arbitrary data structures. Free Download
Inline::CPP is a Perl module that can write Perl subroutines and classes in C++. Free Download
C::DynaLib::Struct is a tool for handling the C `struct data type. Free Download
Inline::Filters Perl module contains common source code filters for Inline Modules. Free Download
Inline-API is a Perl module that teach you how to bind a programming language to Perl using Inline.pm. Free Download
Zonestats create an RRD database with the values of CPU and memory (RSS) usage per Solaris 10 zone. Free Download
Latest Software
Popular Software
Favourite Software