<?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-GCutter">
<refmeta>
<refentrytitle role="top_of_page" id="cutter-GCutter.top_of_page">GCutter</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>Cutterライブラリ</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GCutter</refname>
<refpurpose>GLibサポート付きのCutter。</refpurpose>
</refnamediv>

<refsynopsisdiv id="cutter-GCutter.synopsis" role="synopsis">
<title role="synopsis.title">概要</title>

<synopsis>#define             <link linkend="GCUTTER-ENABLED:CAPS">GCUTTER_ENABLED</link>
</synopsis>
</refsynopsisdiv>

<refsect1 id="cutter-GCutter.description" role="desc">
<title role="desc.title">説明</title>
<para>GCutterはGLibベースのたくさんの便利な機能をCutterに追加します。より簡単にテストを書きたい場合はGCutterの使用を検討してください。</para>
<para>GCutterを使うことは簡単です。&lt;cutter.h&gt;の代わりに&lt;gcutter.h&gt;をinlcudeして、cutter.pcの代わりにgcutter.pcを使うだけです。</para>
<para>
test-xxx.c:
<informalexample><programlisting>
-#include &lt;cutter.h&gt;
+#include &lt;gcutter.h&gt;
</programlisting></informalexample>
</para>
<para>
configure.ac:
<informalexample><programlisting>
-AC_CHECK_CUTTER
+AC_CHECK_GCUTTER
</programlisting></informalexample>
</para>
<para>
Makefile.am:
<informalexample><programlisting>
-XXX_CFLAGS = $(CUTTER_CFLAGS)
-XXX_LIBS = $(CUTTER_LIBS)
+XXX_CFLAGS = $(GCUTTER_CFLAGS)
+XXX_LIBS = $(GCUTTER_LIBS)
</programlisting></informalexample>
</para>
</refsect1>
<refsect1 id="cutter-GCutter.details" role="details">
<title role="details.title">詳細</title>
<refsect2 id="GCUTTER-ENABLED:CAPS" role="macro" condition="since:1.0.6">
<title>GCUTTER_ENABLED</title>
<indexterm zone="GCUTTER-ENABLED:CAPS" role="1.0.6"><primary>GCUTTER_ENABLED</primary></indexterm>
<programlisting>#define GCUTTER_ENABLED 1
</programlisting>
<para>GCutterが有効なとき定義されます。</para><para role="since">1.0.6から</para></refsect2>

</refsect1>
<refsect1 id="cutter-GCutter.see-also">
<title>参考</title>
<link linkend="cutter-Assertions-with-GLib-support">GLibサポート付きの検証</link>
</refsect1>

</refentry>
