Spec-Zone .ru
спецификации, руководства, описания, API
Spec-Zone .ru
спецификации, руководства, описания, API
Библиотека разработчика Mac Разработчик
Поиск

 

Эта страница руководства для  версии 10.9 Mac OS X

Если Вы выполняете различную версию  Mac OS X, просматриваете документацию локально:

Читать страницы руководства

Страницы руководства предназначаются как справочник для людей, уже понимающих технологию.

  • Чтобы изучить, как руководство организовано или узнать о синтаксисе команды, прочитайте страницу руководства для страниц справочника (5).

  • Для получения дополнительной информации об этой технологии, ищите другую документацию в Библиотеке Разработчика Apple.

  • Для получения общей информации о записи сценариев оболочки, считайте Shell, Пишущий сценарий Учебника для начинающих.



ExtUtils::Typemaps::OutputMap(3pm)    Perl Programmers Reference Guide    ExtUtils::Typemaps::OutputMap(3pm)



NAME
       ExtUtils::Typemaps::OutputMap - Entry in the OUTPUT section of a typemap

SYNOPSIS
         use ExtUtils::Typemaps;
         ...
         my $output = $typemap->get_output_map('T_NV');
         my $code = $output->code();
         $output->code("...");

DESCRIPTION
       Refer to ExtUtils::Typemaps for details.

METHODS
   new
       Requires "xstype" and "code" parameters.

   code
       Returns or sets the OUTPUT mapping code for this entry.

   xstype
       Returns the name of the XS type of the OUTPUT map.

   cleaned_code
       Returns a cleaned-up copy of the code to which certain transformations have been applied to make it
       more ANSI compliant.

   targetable
       This is an obscure optimization that used to live in "ExtUtils::ParseXS" directly.

       In a nutshell, this will check whether the output code involves calling "set_iv", "set_uv", "set_nv",
       "set_pv" or "set_pvn" to set the special $arg placeholder to a new value AT THE END OF THE OUTPUT
       CODE. If that is the case, the code is eligible for using the "TARG"-related macros to optimize this.
       Thus the name of the method: "targetable".

       If the optimization can not be applied, this returns undef.  If it can be applied, this method
       returns a hash reference containing the following information:

         type:      Any of the characters i, u, n, p
         with_size: Bool indicating whether this is the sv_setpvn variant
         what:      The code that actually evaluates to the output scalar
         what_size: If "with_size", this has the string length (as code,
                    not constant)

SEE ALSO
       ExtUtils::Typemaps

AUTHOR
       Steffen Mueller "<smueller@cpan.org">

COPYRIGHT & LICENSE
       Copyright 2009, 2010, 2011, 2012 Steffen Mueller

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



perl v5.16.2                                     2012-10-11               ExtUtils::Typemaps::OutputMap(3pm)

Сообщение о проблемах

Способ сообщить о проблеме с этой страницей руководства зависит от типа проблемы:

Ошибки содержания
Ошибки отчета в содержании этой документации к проекту Perl. (См. perlbug (1) для инструкций представления.)
Отчеты об ошибках
Сообщите об ошибках в функциональности описанного инструмента или API к Apple через Генератор отчетов Ошибки и к проекту Perl, использующему perlbug (1).
Форматирование проблем
Отчет, форматирующий ошибки в интерактивной версии этих страниц со ссылками на отзыв ниже.