Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gistructinfo.h File Reference

Go to the source code of this file.

Macros

#define GI_TYPE_STRUCT_INFO   (gi_struct_info_get_type ())
 
#define GI_STRUCT_INFO(info)   (G_TYPE_CHECK_INSTANCE_CAST ((info), GI_TYPE_STRUCT_INFO, GIStructInfo))
 
#define GI_IS_STRUCT_INFO(info)   (G_TYPE_CHECK_INSTANCE_TYPE ((info), GI_TYPE_STRUCT_INFO))
 

Functions

GI_AVAILABLE_IN_ALL unsigned int gi_struct_info_get_n_fields (GIStructInfo *info)
 
GI_AVAILABLE_IN_ALL GIFieldInfogi_struct_info_get_field (GIStructInfo *info, unsigned int n)
 
GI_AVAILABLE_IN_ALL GIFieldInfogi_struct_info_find_field (GIStructInfo *info, const char *name)
 
GI_AVAILABLE_IN_ALL unsigned int gi_struct_info_get_n_methods (GIStructInfo *info)
 
GI_AVAILABLE_IN_ALL GIFunctionInfogi_struct_info_get_method (GIStructInfo *info, unsigned int n)
 
GI_AVAILABLE_IN_ALL GIFunctionInfogi_struct_info_find_method (GIStructInfo *info, const char *name)
 
GI_AVAILABLE_IN_ALL size_t gi_struct_info_get_size (GIStructInfo *info)
 
GI_AVAILABLE_IN_ALL size_t gi_struct_info_get_alignment (GIStructInfo *info)
 
GI_AVAILABLE_IN_ALL gboolean gi_struct_info_is_gtype_struct (GIStructInfo *info)
 
GI_AVAILABLE_IN_ALL gboolean gi_struct_info_is_foreign (GIStructInfo *info)
 
GI_AVAILABLE_IN_ALL const char * gi_struct_info_get_copy_function_name (GIStructInfo *info)
 
GI_AVAILABLE_IN_ALL const char * gi_struct_info_get_free_function_name (GIStructInfo *info)
 

Macro Definition Documentation

◆ GI_IS_STRUCT_INFO

#define GI_IS_STRUCT_INFO ( info)    (G_TYPE_CHECK_INSTANCE_TYPE ((info), GI_TYPE_STRUCT_INFO))

GI_IS_STRUCT_INFO: @info: an info structure

Checks if @info is a [class.nosp@m.@GIR.nosp@m.eposi.nosp@m.tory.nosp@m..Stru.nosp@m.ctIn.nosp@m.fo] (or a derived type).

Since: 2.80

Definition at line 59 of file gistructinfo.h.

◆ GI_STRUCT_INFO

#define GI_STRUCT_INFO ( info)    (G_TYPE_CHECK_INSTANCE_CAST ((info), GI_TYPE_STRUCT_INFO, GIStructInfo))

GI_STRUCT_INFO: @info: Info object which is subject to casting.

Casts a [type@.nosp@m.GIRe.nosp@m.posit.nosp@m.ory..nosp@m.Struc.nosp@m.tInf.nosp@m.o] or derived pointer into a (GIStructInfo*) pointer.

Depending on the current debugging level, this function may invoke certain runtime checks to identify invalid casts.

Since: 2.80

Definition at line 49 of file gistructinfo.h.

◆ GI_TYPE_STRUCT_INFO

#define GI_TYPE_STRUCT_INFO   (gi_struct_info_get_type ())

Definition at line 35 of file gistructinfo.h.

Function Documentation

◆ gi_struct_info_find_field()

GI_AVAILABLE_IN_ALL GIFieldInfo * gi_struct_info_find_field ( GIStructInfo * info,
const char * name )

◆ gi_struct_info_find_method()

GI_AVAILABLE_IN_ALL GIFunctionInfo * gi_struct_info_find_method ( GIStructInfo * info,
const char * name )

◆ gi_struct_info_get_alignment()

GI_AVAILABLE_IN_ALL size_t gi_struct_info_get_alignment ( GIStructInfo * info)

◆ gi_struct_info_get_copy_function_name()

GI_AVAILABLE_IN_ALL const char * gi_struct_info_get_copy_function_name ( GIStructInfo * info)

◆ gi_struct_info_get_field()

GI_AVAILABLE_IN_ALL GIFieldInfo * gi_struct_info_get_field ( GIStructInfo * info,
unsigned int n )

◆ gi_struct_info_get_free_function_name()

GI_AVAILABLE_IN_ALL const char * gi_struct_info_get_free_function_name ( GIStructInfo * info)

◆ gi_struct_info_get_method()

GI_AVAILABLE_IN_ALL GIFunctionInfo * gi_struct_info_get_method ( GIStructInfo * info,
unsigned int n )

◆ gi_struct_info_get_n_fields()

GI_AVAILABLE_IN_ALL unsigned int gi_struct_info_get_n_fields ( GIStructInfo * info)

◆ gi_struct_info_get_n_methods()

GI_AVAILABLE_IN_ALL unsigned int gi_struct_info_get_n_methods ( GIStructInfo * info)

◆ gi_struct_info_get_size()

GI_AVAILABLE_IN_ALL size_t gi_struct_info_get_size ( GIStructInfo * info)

◆ gi_struct_info_is_foreign()

GI_AVAILABLE_IN_ALL gboolean gi_struct_info_is_foreign ( GIStructInfo * info)

◆ gi_struct_info_is_gtype_struct()

GI_AVAILABLE_IN_ALL gboolean gi_struct_info_is_gtype_struct ( GIStructInfo * info)