glib/girepository
Marco Trevisan (Treviño) 13791b47f6 gistructinfo: Use proper types for offset lookup
This is a private function so we can just use the expected types.

Also this avoids a signed/unsigned conversion.
2024-01-16 18:40:42 +01:00
..
cmph girrepository: Use standard int sized types instead of g[u]int* 2024-01-16 18:40:42 +01:00
tests girrepository: Use standard int sized types instead of g[u]int* 2024-01-16 18:40:42 +01:00
gdump.c girrepository: Replace usage of gsize with standard size_t 2024-01-16 18:40:42 +01:00
gi-dump-types.c girepository: Replace tabs with spaces in indentation 2024-01-16 17:30:37 +01:00
giarginfo.c giarginfo: Use gssize to return the closure and destroy indexes 2024-01-16 18:40:42 +01:00
giarginfo.h giarginfo: Use gssize to return the closure and destroy indexes 2024-01-16 18:40:42 +01:00
gibaseinfo-private.h girrepository: Replace usage of gsize with standard size_t 2024-01-16 18:40:42 +01:00
gibaseinfo.c gibaseinfo: Ensure the typelib offset is within the allowed limits 2024-01-16 18:40:42 +01:00
gibaseinfo.h girepository: Use size_t for size-related arguments and return types 2024-01-16 18:40:42 +01:00
gicallableinfo.c girepository: Ensure indexed access on members is not overflowing 2024-01-16 18:40:42 +01:00
gicallableinfo.h girrepository: Replace usage of gsize with standard size_t 2024-01-16 18:40:42 +01:00
gicallbackinfo.c gicallbackinfo: Port documentation to gi-docgen and update 2023-12-18 14:14:15 +00:00
gicallbackinfo.h girepository: Replace tabs with spaces in indentation 2024-01-16 17:30:37 +01:00
giconstantinfo.c girrepository: Replace usage of gsize with standard size_t 2024-01-16 18:40:42 +01:00
giconstantinfo.h girrepository: Replace usage of gsize with standard size_t 2024-01-16 18:40:42 +01:00
gienuminfo.c girepository: Ensure indexed access on members is not overflowing 2024-01-16 18:40:42 +01:00
gienuminfo.h girrepository: Use standard int sized types instead of g[u]int* 2024-01-16 18:40:42 +01:00
gifieldinfo.c girrepository: Replace usage of gsize with standard size_t 2024-01-16 18:40:42 +01:00
gifieldinfo.h girrepository: Replace usage of gsize with standard size_t 2024-01-16 18:40:42 +01:00
gifunctioninfo.c girrepository: Replace usage of gsize with standard size_t 2024-01-16 18:40:42 +01:00
gifunctioninfo.h girrepository: Replace usage of gsize with standard size_t 2024-01-16 18:40:42 +01:00
giinterfaceinfo.c girepository: Ensure indexed access on members is not overflowing 2024-01-16 18:40:42 +01:00
giinterfaceinfo.h girrepository: Use standard int sized types instead of g[u]int* 2024-01-16 18:40:42 +01:00
ginvoke.c girrepository: Use standard int sized types instead of g[u]int* 2024-01-16 18:40:42 +01:00
giobjectinfo.c girepository: Ensure indexed access on members is not overflowing 2024-01-16 18:40:42 +01:00
giobjectinfo.h girrepository: Use standard int sized types instead of g[u]int* 2024-01-16 18:40:42 +01:00
gipropertyinfo.c gipropertyinfo: Port documentation to gi-docgen and update 2023-12-18 14:14:15 +00:00
gipropertyinfo.h gipropertyinfo: Port documentation to gi-docgen and update 2023-12-18 14:14:15 +00:00
giregisteredtypeinfo.c girepository: Use char instead of glib-specific gchar 2024-01-16 18:40:42 +01:00
giregisteredtypeinfo.h girepository: Use char instead of glib-specific gchar 2024-01-16 18:40:42 +01:00
girepository-private.h girrepository: Remove unneeded static check 2024-01-16 18:40:42 +01:00
girepository.c girepository: Ensure indexed access on members is not overflowing 2024-01-16 18:40:42 +01:00
girepository.h girrepository: Replace usage of gsize with standard size_t 2024-01-16 18:40:42 +01:00
girffi.c girrepository: Use standard int sized types instead of g[u]int* 2024-01-16 18:40:42 +01:00
girffi.h girrepository: Use void* instead of gpointer 2024-01-16 18:40:37 +01:00
girmodule-private.h girepository: Use uint8_t pointers instead of guchar 2024-01-16 18:40:42 +01:00
girmodule.c girrepository: Replace usage of gsize with standard size_t 2024-01-16 18:40:42 +01:00
girnode-private.h girepository: Use uint8_t pointers instead of guchar 2024-01-16 18:40:42 +01:00
girnode.c girepository: Use uint8_t pointers instead of guchar 2024-01-16 18:40:42 +01:00
giroffsets.c girrepository: Use standard int sized types instead of g[u]int* 2024-01-16 18:40:42 +01:00
girparser-private.h girepository: Use char instead of glib-specific gchar 2024-01-16 18:40:42 +01:00
girparser.c girrepository: Replace usage of gsize with standard size_t 2024-01-16 18:40:42 +01:00
girwriter-private.h girepository: Rename symbols to the GI namespace 2023-11-08 15:05:20 +00:00
girwriter.c girepository: Use size_t for size-related arguments and return types 2024-01-16 18:40:42 +01:00
gisignalinfo.c gisignalinfo: Port documentation to gi-docgen and update 2023-12-18 14:14:16 +00:00
gisignalinfo.h gisignalinfo: Port documentation to gi-docgen and update 2023-12-18 14:14:16 +00:00
gistructinfo.c gistructinfo: Use proper types for offset lookup 2024-01-16 18:40:42 +01:00
gistructinfo.h girrepository: Replace usage of gsize with standard size_t 2024-01-16 18:40:42 +01:00
gitypeinfo.c gitypeinfo: Use gssize to return the array length index 2024-01-16 18:40:42 +01:00
gitypeinfo.h gitypeinfo: Use gssize to return the array length index 2024-01-16 18:40:42 +01:00
gitypelib-internal.h girrepository: Replace usage of gsize with standard size_t 2024-01-16 18:40:42 +01:00
gitypelib.c girrepository: Replace usage of gsize with standard size_t 2024-01-16 18:40:42 +01:00
gitypelib.h girrepository: Replace usage of gsize with standard size_t 2024-01-16 18:40:42 +01:00
gitypes.h girrepository: Replace usage of gsize with standard size_t 2024-01-16 18:40:42 +01:00
giunioninfo.c girepository: Use size_t for size-related arguments and return types 2024-01-16 18:40:42 +01:00
giunioninfo.h girepository: Use size_t for size-related arguments and return types 2024-01-16 18:40:42 +01:00
giunresolvedinfo.c giunresolvedinfo: Port documentation to gi-docgen and update 2023-12-18 14:14:16 +00:00
giunresolvedinfo.h girepository: Replace tabs with spaces in indentation 2024-01-16 17:30:37 +01:00
givfuncinfo.c girepository: Use size_t for size-related arguments and return types 2024-01-16 18:40:42 +01:00
givfuncinfo.h girepository: Use size_t for size-related arguments and return types 2024-01-16 18:40:42 +01:00
gthash.c girrepository: Use standard int sized types instead of g[u]int* 2024-01-16 18:40:42 +01:00
meson.build girepository: Re-number GIR file from 2.0 to 3.0 2023-12-22 12:21:57 +00:00