summaryrefslogtreecommitdiff
path: root/girepository/gifieldinfo.c
Commit message (Collapse)AuthorAgeFilesLines
* docs: Field offsets are in the units of bytesTomasz Miąsko2018-12-141-1/+1
|
* docs: fix gtk-doc warnings and update version infosChristoph Reiter2018-12-091-1/+1
| | | | | | | | Move things around and rename things until gtk-doc is happy. This also moves the "Since" annotations to the next stable releases and adds version added info for g_callable_info_get_instance_ownership_transfer() and g_struct_info_find_field().
* build: enable -Wswitch-defaultChristoph Reiter2018-07-291-0/+8
| | | | | | | In case the surrounding code handles missing cases break, otherwise add a g_assert_not_reached(). The generated parser code triggers this as well, so disable it there only.
* girepository: Include config.h First in All SourcesChun-wei Fan2014-07-071-0/+2
| | | | | | | | | This includes config.h in all the C-sources of girepository so that we can get the correct export directive from config.h during compile time and therefore export the symbols as necessary, like what GLib and GTK+ is currently doing. https://bugzilla.gnome.org/show_bug.cgi?id=732669
* docs: fix up reference docs a bitDieter Verfaillie2013-10-101-5/+5
| | | | | | | | | | | | | - require GTK-Doc 1.19 - remove sgml mode - automatically generate gi.types (needs GTK-Doc 1.19) - fix https://bugzilla.gnome.org/show_bug.cgi?id=700025 [WIP] - rearange sections a bit [WIP] - add gi-building, gi-programming sections [WIP] - mark missing docs with TODO, which is only marginaly better than nothing but at least can be grepped :) https://bugzilla.gnome.org/show_bug.cgi?id=571648
* Add Emacs mode lines to C sourcesColin Walters2012-02-031-1/+2
|
* Deprecate ErrorDomainDan Winship2011-08-121-2/+2
| | | | | | | | | | | | | | The previous ErrorDomain blob was never actually scanned or used, and it was kind of a lame API conceptually. To keep some compatibility, rather than removing the enumeration values, rename them to _INVALID, and don't bump the typelib version. This should in theory allow a new libgirepository to read an old typelib. Based on a patch from Colin Walters https://bugzilla.gnome.org/show_bug.cgi?id=602516
* Fix accessing structure fields that are arraysGiovanni Campagna2011-06-081-9/+7
| | | | | | | | | | We need to distinguish inline arrays inside structures, and arrays that are pointers and annotations, and we can do it with g_type_info_is_pointer(), setting it to FALSE for fixed size arrays. As a side effect, (array fixed-size=N) on a pointer type has no longer the expected result. https://bugzilla.gnome.org/show_bug.cgi?id=646635
* Assume only that an array is embedded in a struct if it's fixed sizeTomeu Vizoso2011-06-061-2/+6
|
* gifieldinfo.c: Quiet some compiler warningsColin Walters2011-05-231-0/+4
|
* g_field_info_get_field: return correct pointer for C arrayMaxim Ermilov2011-05-041-1/+4
| | | | | | Also add a test case. https://bugzilla.gnome.org/show_bug.cgi?id=640468
* support setting gobjects and ginterfaces in struct fieldsJohn (J5) Palmieri2011-03-161-0/+17
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=644749
* Add support for gunichar in typelibColin Walters2010-11-121-0/+2
| | | | | | | Some API such as gtk_text_iter_get_char returns an individual "gunichar"; we should support this. https://bugzilla.gnome.org/show_bug.cgi?id=633197
* Handle enumerations with the full range of signed and unsigned valuesOwen W. Taylor2010-11-011-3/+3
| | | | | | | | | | | | | The C compiler will pick an enumeration type that accomodates the specified values for the enumeration, so ignoring 64-bit enumerations, we can have enumeration values from MININT32 to MAXUINT32. To handle this properly: - Use gint64 for holding eumeration values when scanning - Add a 'unsigned_value' bit to ValueBlob so we can distinguish the int32 vs. uint32 cases in the typelib - Change the return value of g_value_info_get_value() to gint64. https://bugzilla.gnome.org/show_bug.cgi?id=629704
* [girepository] Document GIStructInfo & GIUnionInfoPavel Holejsovsky2010-09-051-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=628753
* [GIRepository] Rename GArgument to GIArgumentJohan Dahlin2010-08-311-4/+4
| | | | | Keep a typedef for backwards compatibility, until the major bindings has moved over.
* Don't include machine-dependent integral types in the typelibColin Walters2010-07-091-60/+0
| | | | | | | | | | | | | | | | | | | | Previously we had both e.g. GI_TYPE_TAG_LONG and GI_TYPE_TAG_INT64, but in fact the typelib is already machine-specific, so it makes sense to just encode this as a fixed type. The .gir remains abstract. We also remove size_t from the typelib; one would never want to treat it differently than an integer. time_t is removed as well; while bindings like gjs had special handling to turn it into e.g. a JS Date object, I don't think we should encourage people to use these POSIX types in their API. Use GTimeVal or the like instead. Because the typelib is now really machine-specific, we need to remove the -expected.tgirs from git. (We could potentially add a check which wasn't just a literal diff later) https://bugzilla.gnome.org/show_bug.cgi?id=623774
* [docs] Add struct hierarchy to each sectionJohan Dahlin2010-06-111-0/+8
|
* [gifieldinfo] Document g_field_info_get_flagsJohan Dahlin2010-06-061-0/+10
|
* [gifieldinfo] Document, indent and check paramsJohan Dahlin2010-06-061-345/+396
| | | | | Document the remaining functions, indent to match coding style and check so that all info params are set and of the right type.
* [gfield] Move over field set/get impl.Johan Dahlin2010-06-061-0/+411
| | | | | Move over the GIFieldInfo set/get value implementation over to gifieldinfo.c
* [girepository] Move GIFieldInfo out of ginfo.chJohan Dahlin2010-06-061-0/+98