Changeset 4859

Show
Ignore:
Timestamp:
01/18/08 12:57:07 (10 months ago)
Author:
m-takagi
Message:

docs/m-takagi/CodeGen_PECL: updated translation.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • docs/m-takagi/CodeGen_PECL/trunk/manual.xml

    r4700 r4859  
    11<?xml version='1.0' encoding='EUC-JP' ?> 
     2<!-- $Id$ --> 
    23<!-- EN-Revision: 93 --> 
    34<!-- See: http://codegenerators.php-baustelle.de/trac/browser/trunk/CodeGen_PECL/docs --> 
    … …  
    660661 
    661662  <section> 
    662    <title>Custom code</title> 
    663    <para> 
    664     Custom code may be added to your extension source files using the 
    665     <literal>&lt;code&gt;</literal> tags. The <literal>role=...</literal> 
    666     and <literal>position=...</literal> tags specify the actual place 
    667     in there generated source files where your code should be 
    668     inserted. 
    669    </para> 
    670    <para> 
    671     Possible roles are '<literal>code</literal>' (default) for the generated C 
    672     or C++ code file and '<literal>header</literal>' header file. 
    673     Possible positions are '<literal>top</literal>' and '<literal>bottom</literal>' 
    674     (default) for insertion near the beginning or end of the generated file. 
    675    </para> 
    676   </section> 
    677  
    678   <section> 
    679    <title>Conditional compilation</title> 
    680    <para> 
    681     For some code elements it is possible to define conditional compilation 
    682     by using the <literal>if=...</literal> attribute. The argument to this 
    683     attribute is ment to be a valid C preprocessor expression which can be 
    684     used in an "#if" directive. 
    685    </para> 
    686    <para> 
    687     To compile in and register a function only if a certain library feature 
    688     is available you may simply use the <literal>HAVE_...</literal> macros 
    689     that configure writes into config.h: 
     663   <title>�������ॳ����/title> 
     664   <para> 
     665    �������ƥ󥷥��Υ������ե������Υ������ॳ���ɤ�ä�����    <literal>&lt;code&gt;</literal> ������Ѥ��ޤ���<literal>role=...</literal> 
     666    ��<literal>position=...</literal> �ǡ� 
     667    ���Υ����ɤ�ݤΤɤΥ������ե������ɤ���ɲä�������ꤷ�ޤ��� 
     668   </para> 
     669   <para> 
     670    role �˻�ѤǤ����ϡ�'<literal>code</literal>' (�ǥե���) 
     671    ï¿½ï¿½ '<literal>header</literal>' �Τ����줫�Ǥ��� 
     672    '<literal>code</literal>' ��C ��++ �Υ����ɥե����롢 
     673    '<literal>header</literal>' �ϥإå�ե�����ɽ���ޤ��� 
     674    position �˻��������'<literal>top</literal>' �� '<literal>bottom</literal>' 
     675    (�ǥե���) �Τ����줫�ǡ� 
     676    ï¿½ï¿½ï¿½ì¤¾ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Õ¥ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Æ¬ï¿½ï¿½á¡¢ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Þ¤ï¿½ï¿½ï¿½Â 
     677   </para> 
     678  </section> 
     679 
     680  <section> 
     681   <title>��դ��������title> 
     682   <para> 
     683    <literal>if=...</literal> °���Ѥ����� 
     684    ��դ����������ꤹ�뤳�Ȥ��Ǥ��ޤ����������ΰ��ϡ� 
     685    "#if" �ǥ��쥯�ƥ��֤ǻ�ѤǤ�������    C ï¿½×¥ï¿½ï¿½í¥»ï¿½Ã¥ï¿½ï¿½Î¼ï¿½ï¿½ï¿½ê¤·ï¿½Þ¤ï¿½ï¿½ï¿½Â 
     686   </para> 
     687   <para> 
     688    ���Υ饤�֥����Ȥ������ˤΤߴؿ������뤷�����������Ȥ������ϡ� 
     689    ñ�� <literal>HAVE_...</literal> �ޥ����Ȥ����Ȥ����ޤ��� 
     690    ������ config.h �˽ñ¤­¹ï¿½ï¿½Þ¤ï¿½ï¿½ï¿½ï¿½ï¿½Â 
    690691   </para> 
    691692   <example> 
    692     <title>Conditional compilation</title> 
    693     <para> 
    694      For a function like this that should only be available if 
    695      configure has detected either the FOO or BAR feature: 
     693    <title>��դ��������title> 
     694    <para> 
     695     ï¿½ï¿½ï¿½Î´Ø¿ï¿½ï¿½configure �� FOO ���뤤��BAR 
     696     ï¿½ò¸¡½Ð¤ï¿½ï¿½ï¿½ï¿½È¤ï¿½ï¿½Ë¤ï¿½ï¿½ï¿½ï¿½Ñ²ï¿½ï¿½ï¿½È¤Ê¤ï¿½ï¿½ï¿½ï¿½ï¿½Â 
    696697    </para> 
    697698    <programlisting role="xml"> 
    … …  
    703704    </programlisting> 
    704705    <para> 
    705      so all code generated for this function will put into conditional  
    706      code blocks like this: 
     706     ï¿½Ä¤Þ¤ê¡¢ï¿½ï¿½ï¿½Î´Ø¿ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½É¤Ï¤ï¿½ï¿½Ù¤ï¿½     ï¿½ï¿½ï¿½Î¤è¤¦ï¿½Ê¾ï¿½Ö¥ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ñ¤­¹ï¿½ï¿½Þ¤ï¿½ï¿½ï¿½ï¿½È¤Ë¤Ê¤ï¿½ï¿½ï¿½ï¿½ï¿½Â 
    707707    </para> 
    708708    <programlisting> 
    … …  
    713713   </example> 
    714714   <para> 
    715     So far conditional compilation is only available for procedural 
    716     functions but it will be added for other code elements, too, in 
    717     the near future. 
     715    ï¿½ï¿½ï¿½Î¤È¤ï¿½ï¿½í¡¢ï¿½ï¿½ï¿½Îµï¿½Ç½ï¿½Ï¼ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Î´Ø¿ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Ñ¤Ç¤ï¿½ï¿½Þ¤ï¿½ï¿½ï¿½    ���������ᤤ����ˤ������Υ����ɤˤ���Ǥ������ˤʤ���Ǥ��� 
    718716   </para> 
    719717  </section>Â