mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
big header formatting cleanup: indentation, vtable formatting, consistent
2008-09-02 Michael Natterer <mitch@imendio.com> * *.h: big header formatting cleanup: indentation, vtable formatting, consistent spacing in (* vfunc), trailing whitespace removal. Formatting should be pretty consistent in all GIO headers now. svn path=/trunk/; revision=7433
This commit is contained in:
committed by
Michael Natterer
parent
920f3bffb3
commit
f2a2d6c9ac
@@ -1,5 +1,5 @@
|
||||
/* GIO - GLib Input, Output and Streaming Library
|
||||
*
|
||||
*
|
||||
* Copyright (C) 2006-2007 Red Hat, Inc.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
@@ -36,26 +36,28 @@ G_BEGIN_DECLS
|
||||
* @name: the name of the attribute.
|
||||
* @type: the #GFileAttributeType type of the attribute.
|
||||
* @flags: a set of #GFileAttributeInfoFlags.
|
||||
*
|
||||
* Information about a specific attribute.
|
||||
*
|
||||
* Information about a specific attribute.
|
||||
**/
|
||||
struct _GFileAttributeInfo {
|
||||
char *name;
|
||||
GFileAttributeType type;
|
||||
GFileAttributeInfoFlags flags;
|
||||
struct _GFileAttributeInfo
|
||||
{
|
||||
char *name;
|
||||
GFileAttributeType type;
|
||||
GFileAttributeInfoFlags flags;
|
||||
};
|
||||
|
||||
/**
|
||||
* GFileAttributeInfoList:
|
||||
* @infos: an array of #GFileAttributeInfo<!-- -->s.
|
||||
* @n_infos: the number of values in the array.
|
||||
*
|
||||
*
|
||||
* Acts as a lightweight registry for possible valid file attributes.
|
||||
* The registry stores Key-Value pair formats as #GFileAttributeInfo<!-- -->s.
|
||||
**/
|
||||
struct _GFileAttributeInfoList {
|
||||
struct _GFileAttributeInfoList
|
||||
{
|
||||
GFileAttributeInfo *infos;
|
||||
int n_infos;
|
||||
int n_infos;
|
||||
};
|
||||
|
||||
GFileAttributeInfoList * g_file_attribute_info_list_new (void);
|
||||
@@ -71,5 +73,4 @@ void g_file_attribute_info_list_add (GFileAttributeInfoL
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
#endif /* __G_FILE_INFO_H__ */
|
||||
|
Reference in New Issue
Block a user