projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GVariant: use GVariantTypeInfo on internal constructors
[platform/upstream/glib.git]
/
glib
/
gvariant-core.h
diff --git
a/glib/gvariant-core.h
b/glib/gvariant-core.h
index
d2a6b46
..
f658ced
100644
(file)
--- a/
glib/gvariant-core.h
+++ b/
glib/gvariant-core.h
@@
-13,9
+13,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_VARIANT_CORE_H__
*/
#ifndef __G_VARIANT_CORE_H__
@@
-27,16
+25,23
@@
/* gvariant-core.c */
/* gvariant-core.c */
-G_GNUC_INTERNAL
-GVariant * g_variant_new_from_children (const GVariantType *type,
+GVariant * g_variant_new_from_children (GVariantTypeInfo *type_info,
GVariant **children,
gsize n_children,
gboolean trusted);
GVariant **children,
gsize n_children,
gboolean trusted);
-G_GNUC_INTERNAL
+GVariant * g_variant_new_serialised (GVariantTypeInfo *type_info,
+ GBytes *bytes,
+ gconstpointer data,
+ gsize size,
+ gboolean trusted);
+
gboolean g_variant_is_trusted (GVariant *value);
gboolean g_variant_is_trusted (GVariant *value);
-G_GNUC_INTERNAL
GVariantTypeInfo * g_variant_get_type_info (GVariant *value);
GVariantTypeInfo * g_variant_get_type_info (GVariant *value);
+gconstpointer g_variant_get_serialised (GVariant *value,
+ GBytes **bytes,
+ gsize *size);
+
#endif /* __G_VARIANT_CORE_H__ */
#endif /* __G_VARIANT_CORE_H__ */