/usr/lib/x86_64-linux-gnu/perl5/5.20/Cairo/Install/cairo-perl-auto.typemap is in libcairo-perl 1.104-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | #
# This file was automatically generated. Do not edit.
#
TYPEMAP
cairo_surface_t * T_CAIROPERL_GENERIC_WRAPPER
cairo_region_t * T_CAIROPERL_GENERIC_WRAPPER
cairo_t * T_CAIROPERL_GENERIC_WRAPPER
cairo_pattern_t * T_CAIROPERL_GENERIC_WRAPPER
cairo_font_face_t * T_CAIROPERL_GENERIC_WRAPPER
cairo_scaled_font_t * T_CAIROPERL_GENERIC_WRAPPER
cairo_font_options_t * T_CAIROPERL_GENERIC_WRAPPER
cairo_rectangle_int_t * T_CAIROPERL_GENERIC_WRAPPER
cairo_rectangle_t * T_CAIROPERL_GENERIC_WRAPPER
cairo_matrix_t * T_CAIROPERL_GENERIC_WRAPPER
cairo_ps_level_t T_CAIROPERL_GENERIC_WRAPPER
cairo_font_type_t T_CAIROPERL_GENERIC_WRAPPER
cairo_font_weight_t T_CAIROPERL_GENERIC_WRAPPER
cairo_font_slant_t T_CAIROPERL_GENERIC_WRAPPER
cairo_pdf_version_t T_CAIROPERL_GENERIC_WRAPPER
cairo_antialias_t T_CAIROPERL_GENERIC_WRAPPER
cairo_status_t T_CAIROPERL_GENERIC_WRAPPER
cairo_format_t T_CAIROPERL_GENERIC_WRAPPER
cairo_content_t T_CAIROPERL_GENERIC_WRAPPER
cairo_surface_type_t T_CAIROPERL_GENERIC_WRAPPER
cairo_line_join_t T_CAIROPERL_GENERIC_WRAPPER
cairo_fill_rule_t T_CAIROPERL_GENERIC_WRAPPER
cairo_filter_t T_CAIROPERL_GENERIC_WRAPPER
cairo_pattern_type_t T_CAIROPERL_GENERIC_WRAPPER
cairo_path_data_type_t T_CAIROPERL_GENERIC_WRAPPER
cairo_operator_t T_CAIROPERL_GENERIC_WRAPPER
cairo_extend_t T_CAIROPERL_GENERIC_WRAPPER
cairo_region_overlap_t T_CAIROPERL_GENERIC_WRAPPER
cairo_svg_version_t T_CAIROPERL_GENERIC_WRAPPER
cairo_line_cap_t T_CAIROPERL_GENERIC_WRAPPER
cairo_subpixel_order_t T_CAIROPERL_GENERIC_WRAPPER
cairo_hint_style_t T_CAIROPERL_GENERIC_WRAPPER
cairo_hint_metrics_t T_CAIROPERL_GENERIC_WRAPPER
cairo_text_cluster_flags_t T_CAIROPERL_GENERIC_WRAPPER
const cairo_surface_t * T_CAIROPERL_GENERIC_WRAPPER
cairo_surface_t_ornull * T_CAIROPERL_GENERIC_WRAPPER
const cairo_surface_t_ornull * T_CAIROPERL_GENERIC_WRAPPER
const cairo_region_t * T_CAIROPERL_GENERIC_WRAPPER
cairo_region_t_ornull * T_CAIROPERL_GENERIC_WRAPPER
const cairo_region_t_ornull * T_CAIROPERL_GENERIC_WRAPPER
const cairo_t * T_CAIROPERL_GENERIC_WRAPPER
cairo_t_ornull * T_CAIROPERL_GENERIC_WRAPPER
const cairo_t_ornull * T_CAIROPERL_GENERIC_WRAPPER
const cairo_pattern_t * T_CAIROPERL_GENERIC_WRAPPER
cairo_pattern_t_ornull * T_CAIROPERL_GENERIC_WRAPPER
const cairo_pattern_t_ornull * T_CAIROPERL_GENERIC_WRAPPER
const cairo_font_face_t * T_CAIROPERL_GENERIC_WRAPPER
cairo_font_face_t_ornull * T_CAIROPERL_GENERIC_WRAPPER
const cairo_font_face_t_ornull * T_CAIROPERL_GENERIC_WRAPPER
const cairo_scaled_font_t * T_CAIROPERL_GENERIC_WRAPPER
cairo_scaled_font_t_ornull * T_CAIROPERL_GENERIC_WRAPPER
const cairo_scaled_font_t_ornull * T_CAIROPERL_GENERIC_WRAPPER
const cairo_font_options_t * T_CAIROPERL_GENERIC_WRAPPER
cairo_font_options_t_ornull * T_CAIROPERL_GENERIC_WRAPPER
const cairo_font_options_t_ornull * T_CAIROPERL_GENERIC_WRAPPER
const cairo_rectangle_int_t * T_CAIROPERL_GENERIC_WRAPPER
cairo_rectangle_int_t_ornull * T_CAIROPERL_GENERIC_WRAPPER
const cairo_rectangle_int_t_ornull * T_CAIROPERL_GENERIC_WRAPPER
const cairo_rectangle_t * T_CAIROPERL_GENERIC_WRAPPER
cairo_rectangle_t_ornull * T_CAIROPERL_GENERIC_WRAPPER
const cairo_rectangle_t_ornull * T_CAIROPERL_GENERIC_WRAPPER
const cairo_matrix_t * T_CAIROPERL_GENERIC_WRAPPER
cairo_matrix_t_ornull * T_CAIROPERL_GENERIC_WRAPPER
const cairo_matrix_t_ornull * T_CAIROPERL_GENERIC_WRAPPER
cairo_surface_t_noinc * T_CAIROPERL_GENERIC_WRAPPER
cairo_region_t_noinc * T_CAIROPERL_GENERIC_WRAPPER
cairo_t_noinc * T_CAIROPERL_GENERIC_WRAPPER
cairo_pattern_t_noinc * T_CAIROPERL_GENERIC_WRAPPER
cairo_font_face_t_noinc * T_CAIROPERL_GENERIC_WRAPPER
cairo_scaled_font_t_noinc * T_CAIROPERL_GENERIC_WRAPPER
INPUT
T_CAIROPERL_GENERIC_WRAPPER
$var = Sv${;
(my $ntype = $type) =~ s/(?:const\s+)?([:\w]+)(?:\s*\*)$/$1/x;
my $result = $type;
if ($ntype =~ m/(.+)_t(_.+)?/) {
my ($name, $options) = ($1, $2);
$name =~ s/([^_]+)/ucfirst $1/ge;
$name =~ s/_//g;
$result = $name;
$result .= $options if defined $options;
}
\$result} ($arg);
OUTPUT
T_CAIROPERL_GENERIC_WRAPPER
$arg = newSV${;
(my $ntype = $type) =~ s/(?:const\s+)?([:\w]+)(?:\s*\*)$/$1/x;
my $result = $type;
if ($ntype =~ m/(.+)_t(_.+)?/) {
my ($name, $options) = ($1, $2);
$name =~ s/([^_]+)/ucfirst $1/ge;
$name =~ s/_//g;
$result = $name;
$result .= $options if defined $options;
}
\$result} ($var);
|