<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY version SYSTEM "version.xml">
]>
<refentry id="cutter-Types">
<refmeta>
<refentrytitle role="top_of_page" id="cutter-Types.top_of_page"
>Types</refentrytitle>
<manvolnum
>3</manvolnum>
<refmiscinfo
>Cutterライブラリ</refmiscinfo>
</refmeta>
<refnamediv>
<refname
>Types</refname>
<refpurpose
>テストで使う型です。</refpurpose>
</refnamediv>

<refsect1 id="cutter-Types.functions" role="functions_proto">
<title role="functions_proto.title"
>Functions</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="functions_proto_type" colwidth="150px"/>
<colspec colname="functions_proto_name"/>
<tbody>
<row
><entry role="function_type"
><link linkend="void"
><returnvalue
>void</returnvalue
></link>
</entry
><entry role="function_name"
><phrase role="c_punctuation"
>(</phrase
><link linkend="CutDestroyFunction"
>*CutDestroyFunction</link
><phrase role="c_punctuation"
>)</phrase
>&#160;<phrase role="c_punctuation"
>()</phrase
></entry
></row>
<row
><entry role="function_type"
><link linkend="void"
><returnvalue
>void</returnvalue
></link>
</entry
><entry role="function_name"
><phrase role="c_punctuation"
>(</phrase
><link linkend="CutCallbackFunction"
>*CutCallbackFunction</link
><phrase role="c_punctuation"
>)</phrase
>&#160;<phrase role="c_punctuation"
>()</phrase
></entry
></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="cutter-Types.other" role="other_proto">
<title role="other_proto.title"
>Types and Values</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="other_proto_type" colwidth="150px"/>
<colspec colname="other_proto_name"/>
<tbody>
<row
><entry role="typedef_keyword"
>typedef</entry
><entry role="function_name"
><link linkend="cut-boolean"
>cut_boolean</link
></entry
></row>
<row
><entry role="define_keyword"
>#define</entry
><entry role="function_name"
><link linkend="CUT-TRUE:CAPS"
>CUT_TRUE</link
></entry
></row>
<row
><entry role="define_keyword"
>#define</entry
><entry role="function_name"
><link linkend="CUT-FALSE:CAPS"
>CUT_FALSE</link
></entry
></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>


<refsect1 id="cutter-Types.description" role="desc">
<title role="desc.title"
>説明</title>
<para
>テストで使う型がいくつかあります。</para>

</refsect1>
<refsect1 id="cutter-Types.functions_details" role="details">
<title role="details.title"
>Functions</title>
<refsect2 id="CutDestroyFunction" role="function">
<title
>CutDestroyFunction&#160;()</title>
<indexterm zone="CutDestroyFunction"
><primary
>CutDestroyFunction</primary
></indexterm>
<programlisting language="C"
><link linkend="void"><returnvalue>void</returnvalue></link>
<phrase role="c_punctuation">(</phrase>*CutDestroyFunction<phrase role="c_punctuation">)</phrase> (<parameter><link linkend="void"><type>void</type></link> *data</parameter>);</programlisting>
<para
>データが破棄されるときに呼ばれる関数の型です。データのポインタを受け取り、そのデータ用に割り当てられたメモリとリソースを開放します。</para>
<refsect3 id="CutDestroyFunction.parameters" role="parameters">
<title
>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row
><entry role="parameter_name"
><para
>data</para
></entry>
<entry role="parameter_description"
><para
>破棄するデータ。</para
></entry>
<entry role="parameter_annotations"
></entry
></row>
</tbody
></tgroup
></informaltable>
</refsect3
></refsect2>
<refsect2 id="CutCallbackFunction" role="function">
<title
>CutCallbackFunction&#160;()</title>
<indexterm zone="CutCallbackFunction"
><primary
>CutCallbackFunction</primary
></indexterm>
<programlisting language="C"
><link linkend="void"><returnvalue>void</returnvalue></link>
<phrase role="c_punctuation">(</phrase>*CutCallbackFunction<phrase role="c_punctuation">)</phrase> (<parameter><type>void</type></parameter>);</programlisting>
</refsect2>

</refsect1>
<refsect1 id="cutter-Types.other_details" role="details">
<title role="details.title"
>Types and Values</title>
<refsect2 id="cut-boolean" role="typedef">
<title
>cut_boolean</title>
<indexterm zone="cut-boolean"
><primary
>cut_boolean</primary
></indexterm>
<programlisting language="C"
>typedef int cut_boolean;
</programlisting>
<para
>標準的な真偽値型。この型の値は<link linkend="CUT-TRUE:CAPS"
><literal
>CUT_TRUE</literal
></link
>と<link linkend="CUT-FALSE:CAPS"
><literal
>CUT_FALSE</literal
></link
>だけです。</para>
</refsect2>
<refsect2 id="CUT-TRUE:CAPS" role="macro">
<title
>CUT_TRUE</title>
<indexterm zone="CUT-TRUE:CAPS"
><primary
>CUT_TRUE</primary
></indexterm>
<programlisting language="C"
>#define CUT_TRUE
</programlisting>
<para
><link linkend="cut-boolean"
><type
>cut_boolean</type
></link
>型のために<link linkend="CUT-TRUE:CAPS"
><literal
>CUT_TRUE</literal
></link
>を定義します。</para>
</refsect2>
<refsect2 id="CUT-FALSE:CAPS" role="macro">
<title
>CUT_FALSE</title>
<indexterm zone="CUT-FALSE:CAPS"
><primary
>CUT_FALSE</primary
></indexterm>
<programlisting language="C"
>#define CUT_FALSE
</programlisting>
<para
><link linkend="cut-boolean"
><type
>cut_boolean</type
></link
>型のために<link linkend="CUT-FALSE:CAPS"
><literal
>CUT_FALSE</literal
></link
>を定義します。</para>
</refsect2>

</refsect1>

</refentry>
