XS module creation XS (Perl)
to create xs module, h2xs first used create empty module. next, c subroutines added, , calling interfaces c subroutines specified specialized glue language. finally, module compiled, tested, , installed make.
once xs module installed, can loaded perl program use statement, ordinary perl module. once module loaded, c subroutines can called perl code, if written in perl.
Comments
Post a Comment