mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Increase MAX_NAME_LEN
There is no real limit on the length of an identifier, and some toolchains easily hit the current limit of 200 characters. According to this answer on StackOverflow, 2048 seems to be the limit on MSVC and ICC: https://stackoverflow.com/questions/6007568/what-is-max-length-for-an-c-c-identifier-on-common-build-systems So let's use that. https://bugzilla.gnome.org/show_bug.cgi?id=764791
This commit is contained in:
parent
ac76bbb53b
commit
5ecbc70a05
@ -467,7 +467,7 @@ is_aligned (guint32 offset)
|
||||
return offset == ALIGN_VALUE (offset, 4);
|
||||
}
|
||||
|
||||
#define MAX_NAME_LEN 200
|
||||
#define MAX_NAME_LEN 2048
|
||||
|
||||
static const char *
|
||||
get_string (GITypelib *typelib, guint32 offset, GError **error)
|
||||
|
Loading…
Reference in New Issue
Block a user