projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup
[platform/upstream/glib.git]
/
gobject
/
gtypemodule.h
diff --git
a/gobject/gtypemodule.h
b/gobject/gtypemodule.h
index
22cbdaf
..
e4cae1a
100644
(file)
--- a/
gobject/gtypemodule.h
+++ b/
gobject/gtypemodule.h
@@
-12,9
+12,7
@@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* 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.
+ * License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __G_TYPE_MODULE_H__
#define __G_TYPE_MODULE_H__
*/
#ifndef __G_TYPE_MODULE_H__
#define __G_TYPE_MODULE_H__
@@
-42,7
+40,7
@@
typedef struct _GTypeModuleClass GTypeModuleClass;
* GTypeModule:
* @name: the name of the module
*
* GTypeModule:
* @name: the name of the module
*
- * The members of the
<structname>GTypeModule</structname>
structure should not
+ * The members of the
GTypeModule
structure should not
* be accessed directly, except for the @name field.
*/
struct _GTypeModule
* be accessed directly, except for the @name field.
*/
struct _GTypeModule
@@
-94,9
+92,9
@@
struct _GTypeModuleClass
* class initialization function, an instance initialization function (see
* #GTypeInfo for information about these) and a static variable named
* @t_n<!-- -->_parent_class pointing to the parent class. Furthermore,
* class initialization function, an instance initialization function (see
* #GTypeInfo for information about these) and a static variable named
* @t_n<!-- -->_parent_class pointing to the parent class. Furthermore,
- * it defines a
<function>*_get_type()</function> and a static
- *
<function>*_register_type()</function> function for use in your
- *
<function>module_init()</function>.
+ * it defines a
`*_get_type()` and a static `*_register_type()` functions
+ *
for use in your `module_init()`.
+ *
* See G_DEFINE_DYNAMIC_TYPE_EXTENDED() for an example.
*
* Since: 2.14
* See G_DEFINE_DYNAMIC_TYPE_EXTENDED() for an example.
*
* Since: 2.14
@@
-243,7
+241,7
@@
type_name##_register_type (GTypeModule *type_module) \
}
#define G_ADD_PRIVATE_DYNAMIC(TypeName) { \
}
#define G_ADD_PRIVATE_DYNAMIC(TypeName) { \
- TypeName##_private_offset = sizeof (TypeNamePrivate); \
+ TypeName##_private_offset = sizeof (TypeName
##
Private); \
}
GLIB_AVAILABLE_IN_ALL
}
GLIB_AVAILABLE_IN_ALL