.\" Copyright (C) 2001 Information-technology Promotion Agency (IPA) .\" Copyright (C) 2001-2003 .\" National Institute of Advanced Industrial Science and Technology (AIST) .\" This file si aprt of the m17n library documentation. .\" Permission is granted to copy, distribute and/or modify this document .\" under the terms of the GNU Free Documentation License, Version 1.2 or .\" any later version published by the Free Software Foundation; with no .\" Invariant Section, Front-Cover Texts "The m17n library documentation", .\" and no Back-Cover Texts. A copy of the license is included in the .\" appendix entitled "GNU Free Documentation License". .TH "CORE API" 3m17n "14 Jul 2007" "" "Version 1.4.0" "" "The m17n Library" \" -*- nroff -*- .ad l .nh .SH NAME CORE API .SS "Modules" .in +1c .ti -1c .RI "\fBManaged Object\fP" .br .RI "\fIManaged objects are objects managed by the reference count. \fP" .PP .in +1c .ti -1c .RI "\fBSymbol\fP" .br .RI "\fISymbol objects and API for them. \fP" .PP .in +1c .ti -1c .RI "\fBProperty List\fP" .br .RI "\fIProperty List objects and API for them. \fP" .PP .in +1c .ti -1c .RI "\fBCharacter\fP" .br .RI "\fICharacter objects and API for them. \fP" .PP .in +1c .ti -1c .RI "\fBChartable\fP" .br .RI "\fIChartable objects and API for them. \fP" .PP .in +1c .ti -1c .RI "\fBM-text\fP" .br .RI "\fIM-text objects and API for them. \fP" .PP .in +1c .ti -1c .RI "\fBText Property\fP" .br .RI "\fIFunction to handle text properties. \fP" .PP .in -1c .SS "Defines" .in +1c .ti -1c .RI "#define \fBM17N_FUNC\fP(func) ((\fBM17NFunc\fP) (func))" .br .RI "\fIWrapper for a generic function type. \fP" .in -1c .SS "Typedefs" .in +1c .ti -1c .RI "typedef void(*) \fBM17NFunc\fP (void)" .br .RI "\fIGeneric function type. \fP" .in -1c .SH "Define Documentation" .PP .SS "#define M17N_FUNC(func) ((\fBM17NFunc\fP) (func))" .PP The macro \fBM17N_FUNC()\fP casts a function to the type \fBM17NFunc\fP. .SH "Typedef Documentation" .PP .SS "typedef void(*) \fBM17NFunc\fP(void)" .PP \fBM17NFunc\fP is a generic function type for setting a function pointer as a value of \fBMSymbol\fP property or \fBMPlist\fP. .PP \fBSee Also:\fP.RS 4 \fBmsymbol_put_func()\fP, \fBmsymbol_get_func()\fP, \fBmplist_put_func()\fP, \fBmplist_get_func()\fP. .RE .PP