mirror of https://github.com/subgraph/fw-daemon
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
683 B
41 lines
683 B
// Same copyright and license as the rest of the files in this project
|
|
|
|
//GVariant : GVariant — strongly typed value datatype
|
|
// https://developer.gnome.org/glib/2.26/glib-GVariant.html
|
|
|
|
/* todo fix bugs
|
|
#ifndef __GVARIANT_GO_H__
|
|
#define __GVARIANT_GO_H__
|
|
|
|
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <glib/gvariant.h>
|
|
|
|
// Type Casting
|
|
static GVariant *
|
|
toGVariant(void *p)
|
|
{
|
|
return (_GVariant(p));
|
|
}
|
|
|
|
static GVariantBuilder *
|
|
toGVariantBuilder(void *p)
|
|
{
|
|
return (GVariantBuilder(p));
|
|
}
|
|
|
|
static GVariantDict *
|
|
toGVariantDict(void *p)
|
|
{
|
|
return (_GVariantDict(p));
|
|
}
|
|
|
|
static GVariantIter *
|
|
toGVariantIter(void *p)
|
|
{
|
|
return (_GVariantIter(p));
|
|
}
|
|
|
|
#endif
|
|
*/ |