* where `nn` is a 2-digit hexadecimal number.
*/
-/*
+/**
* _g_file_attribute_value_free:
* @attr: a #GFileAttributeValue.
*
g_free (attr);
}
-/*
+/**
* _g_file_attribute_value_clear:
* @attr: a #GFileAttributeValue.
*
attr->type = G_FILE_ATTRIBUTE_TYPE_INVALID;
}
-/*
+/**
* g_file_attribute_value_set:
* @attr: a #GFileAttributeValue to set the value in.
* @new_value: a #GFileAttributeValue to get the value from.
g_object_ref (attr->u.obj);
}
-/*
+/**
* _g_file_attribute_value_new:
*
* Creates a new file attribute.
}
}
-/*
+/**
* g_file_attribute_value_dup:
* @other: a #GFileAttributeValue to duplicate.
*
}
}
-/*
+/**
* _g_file_attribute_value_as_string:
* @attr: a #GFileAttributeValue.
*
* Converts a #GFileAttributeValue to a string for display.
* The returned string should be freed when no longer needed.
*
- * Returns: a string from the @attr, %NULL on error, or "<invalid>"
+ * Returns: a string from the @attr, %NULL on error, or "<invalid>"
* if @attr is of type %G_FILE_ATTRIBUTE_TYPE_INVALID.
*/
char *
return str;
}
-/*
+/**
* _g_file_attribute_value_get_string:
* @attr: a #GFileAttributeValue.
*
return attr->u.string;
}
-/*
+/**
* _g_file_attribute_value_get_byte_string:
* @attr: a #GFileAttributeValue.
*
return attr->u.stringv;
}
-/*
+/**
* _g_file_attribute_value_get_boolean:
* @attr: a #GFileAttributeValue.
*
return attr->u.boolean;
}
-/*
+/**
* _g_file_attribute_value_get_uint32:
* @attr: a #GFileAttributeValue.
*
return attr->u.uint32;
}
-/*
+/**
* _g_file_attribute_value_get_int32:
* @attr: a #GFileAttributeValue.
*
return attr->u.int32;
}
-/*
+/**
* _g_file_attribute_value_get_uint64:
* @attr: a #GFileAttributeValue.
*
return attr->u.uint64;
}
-/*
+/**
* _g_file_attribute_value_get_int64:
* @attr: a #GFileAttributeValue.
*
return attr->u.int64;
}
-/*
+/**
* _g_file_attribute_value_get_object:
* @attr: a #GFileAttributeValue.
*
}
}
-/*
+/**
* _g_file_attribute_value_set_string:
* @attr: a #GFileAttributeValue.
* @string: a UTF-8 string to set within the type.
attr->u.string = g_strdup (string);
}
-/*
+/**
* _g_file_attribute_value_set_byte_string:
* @attr: a #GFileAttributeValue.
* @string: a byte string to set within the type.
}
-/*
+/**
* _g_file_attribute_value_set_boolean:
* @attr: a #GFileAttributeValue.
* @value: a #gboolean to set within the type.
attr->u.boolean = !!value;
}
-/*
+/**
* _g_file_attribute_value_set_uint32:
* @attr: a #GFileAttributeValue.
* @value: a #guint32 to set within the type.
attr->u.uint32 = value;
}
-/*
+/**
* _g_file_attribute_value_set_int32:
* @attr: a #GFileAttributeValue.
* @value: a #gint32 to set within the type.
attr->u.int32 = value;
}
-/*
+/**
* _g_file_attribute_value_set_uint64:
* @attr: a #GFileAttributeValue.
* @value: a #guint64 to set within the type.
attr->u.uint64 = value;
}
-/*
+/**
* _g_file_attribute_value_set_int64:
* @attr: a #GFileAttributeValue.
* @value: a #gint64 to set within the type.
attr->u.int64 = value;
}
-/*
+/**
* _g_file_attribute_value_set_object:
* @attr: a #GFileAttributeValue.
* @obj: a #GObject.