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
						
					
					
						
							649 B
						
					
					
				
			
		
		
	
	
							41 lines
						
					
					
						
							649 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
 | 
						|
 | 
						|
#ifndef __GVARIANT_GO_H__
 | 
						|
#define __GVARIANT_GO_H__
 | 
						|
 | 
						|
#include <stdint.h>
 | 
						|
#include <stdlib.h>
 | 
						|
#include <stdio.h>
 | 
						|
#include <glib.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
 |