GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ExtUtils::Builder::ParseXS(3) User Contributed Perl Documentation ExtUtils::Builder::ParseXS(3)

ExtUtils::Builder::ParseXS - Essential functions for implementing XS in a Plan

version 0.032

 $planner->load_extension("ExtUtils::Builder::ParseXS");
 $planner->parse_xs("foo.xs", "foo.c");

This module implements several helper methods used in implementing XS.

It takes one optional argument "config", which should be an "ExtUtils::Config" compatible object. If your $planner has a "config" delegate, that will be used as default value.

parse_xs($source, $destination, %options)

This will parse the XS file $source and write the resulting C file to $destination.

  • mkdir

    If set this will mkdir the base of the target before running the parse.

  • dependencies

    This lists additional dependencies that will be added to the target.

  • typemap

    The name of the typemap file. Defaults to "typemap" if that file exists.

  • hiertype

    Allow hierarchical types (with double colons) such as used in C++.

c_file_for_xs($filename, $dir = dirname($filename))

This returns the path to the C file for a certain XS file.

module_for_xs($filename)

This returns the module corresponding to a specific XS files.

extension_filename($module_name)

This will return the path for the loadable object of an extension for $module.

Leon Timmermans <fawaka@gmail.com>

This software is copyright (c) 2012 by Leon Timmermans.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2025-05-04 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.