cleanup
[platform/upstream/glib.git] / gobject / gtypeplugin.h
index ff87a70..d56eb66 100644 (file)
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General
- * Public License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
+#ifndef __G_TYPE_PLUGIN_H__
+#define __G_TYPE_PLUGIN_H__
+
 #if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
 #error "Only <glib-object.h> can be included directly."
 #endif
 
-#ifndef __G_TYPE_PLUGIN_H__
-#define __G_TYPE_PLUGIN_H__
-
 #include       <gobject/gtype.h>
 
 G_BEGIN_DECLS
@@ -83,9 +81,8 @@ typedef void  (*GTypePluginCompleteInterfaceInfo) (GTypePlugin     *plugin,
 /**
  * GTypePlugin:
  * 
- * The <structname>GTypePlugin</structname> typedef is used as a placeholder 
- * for objects that implement the <structname>GTypePlugin</structname> 
- * interface.
+ * The GTypePlugin typedef is used as a placeholder 
+ * for objects that implement the GTypePlugin interface.
  */
 /**
  * GTypePluginClass:
@@ -93,12 +90,10 @@ typedef void  (*GTypePluginCompleteInterfaceInfo) (GTypePlugin     *plugin,
  * @unuse_plugin: Decreases the use count of the plugin.
  * @complete_type_info: Fills in the #GTypeInfo and 
  *  #GTypeValueTable structs for the type. The structs are initialized
- *  with <literal>memset(s, 0, sizeof (s))</literal> before calling 
- *  this function.
+ *  with `memset(s, 0, sizeof (s))` before calling this function.
  * @complete_interface_info: Fills in missing parts of the #GInterfaceInfo 
- *  for the interface. The structs is initialized with 
- *  <literal>memset(s, 0, sizeof (s))</literal> before calling
- *  this function.
+ *  for the interface. The structs is initialized with
+ *  `memset(s, 0, sizeof (s))` before calling this function.
  * 
  * The #GTypePlugin interface is used by the type system in order to handle
  * the lifecycle of dynamically loaded types.
@@ -117,13 +112,18 @@ struct _GTypePluginClass
 
 
 /* --- prototypes --- */
+GLIB_AVAILABLE_IN_ALL
 GType  g_type_plugin_get_type                  (void)  G_GNUC_CONST;
+GLIB_AVAILABLE_IN_ALL
 void   g_type_plugin_use                       (GTypePlugin     *plugin);
+GLIB_AVAILABLE_IN_ALL
 void   g_type_plugin_unuse                     (GTypePlugin     *plugin);
+GLIB_AVAILABLE_IN_ALL
 void   g_type_plugin_complete_type_info        (GTypePlugin     *plugin,
                                                 GType            g_type,
                                                 GTypeInfo       *info,
                                                 GTypeValueTable *value_table);
+GLIB_AVAILABLE_IN_ALL
 void   g_type_plugin_complete_interface_info   (GTypePlugin     *plugin,
                                                 GType            instance_type,
                                                 GType            interface_type,