{
    "content": [
        {
            "type": "text",
            "text": "# ExtUtils::Typemaps::Cmd (perldoc)\n\n## NAME\n\nExtUtils::Typemaps::Cmd - Quick commands for handling typemaps\n\n## SYNOPSIS\n\nFrom XS:\nINCLUDECOMMAND: $^X -MExtUtils::Typemaps::Cmd \\\n-e \"print embeddabletypemap(q{Excommunicated})\"\nLoads \"ExtUtils::Typemaps::Excommunicated\", instantiates an object, and dumps it as an\nembeddable typemap for use directly in your XS file.\n\n## DESCRIPTION\n\nThis is a helper module for ExtUtils::Typemaps for quick one-liners, specifically for inclusion\nof shared typemaps that live on CPAN into an XS file (see SYNOPSIS).\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **EXPORTED FUNCTIONS**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "ExtUtils::Typemaps::Cmd",
        "section": "",
        "mode": "perldoc",
        "summary": "ExtUtils::Typemaps::Cmd - Quick commands for handling typemaps",
        "synopsis": "From XS:\nINCLUDECOMMAND: $^X -MExtUtils::Typemaps::Cmd \\\n-e \"print embeddabletypemap(q{Excommunicated})\"\nLoads \"ExtUtils::Typemaps::Excommunicated\", instantiates an object, and dumps it as an\nembeddable typemap for use directly in your XS file.",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "EXPORTED FUNCTIONS",
                "lines": 19,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 8,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "ExtUtils::Typemaps::Cmd - Quick commands for handling typemaps\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "From XS:\n\nINCLUDECOMMAND: $^X -MExtUtils::Typemaps::Cmd \\\n-e \"print embeddabletypemap(q{Excommunicated})\"\n\nLoads \"ExtUtils::Typemaps::Excommunicated\", instantiates an object, and dumps it as an\nembeddable typemap for use directly in your XS file.\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This is a helper module for ExtUtils::Typemaps for quick one-liners, specifically for inclusion\nof shared typemaps that live on CPAN into an XS file (see SYNOPSIS).\n\nFor this reason, the following functions are exported by default:\n",
                "subsections": []
            },
            "EXPORTED FUNCTIONS": {
                "content": "embeddabletypemap\nGiven a list of identifiers, \"embeddabletypemap\" tries to load typemaps from a file of the\ngiven name(s), or from a module that is an \"ExtUtils::Typemaps\" subclass.\n\nReturns a string representation of the merged typemaps that can be included verbatim into XS.\nExample:\n\nprint embeddabletypemap(\n\"Excommunicated\", \"ExtUtils::Typemaps::Basic\", \"./typemap\"\n);\n\nThis will try to load a module \"ExtUtils::Typemaps::Excommunicated\" and use it as an\n\"ExtUtils::Typemaps\" subclass. If that fails, it'll try loading \"Excommunicated\" as a module, if\nthat fails, it'll try to read a file called Excommunicated. It'll work similarly for the second\nargument, but the third will be loaded as a file first.\n\nAfter loading all typemap files or modules, it will merge them in the specified order and dump\nthe result as an embeddable typemap.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "ExtUtils::Typemaps\n\nperlxs\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Steffen Mueller \"<smueller@cpan.org\">\n\nCOPYRIGHT & LICENSE\nCopyright 2012 Steffen Mueller\n\nThis program is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
                "subsections": []
            }
        }
    }
}