mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 06:33:41 +02:00
gobject: Cross-link from GType reference docs to GType conventions page
Make it a little easier to find the GType conventions page, which I guess should be the canonical guide to how to name things. This adds a brief mention of the valid characters in a type name to the conventions page. https://bugzilla.gnome.org/show_bug.cgi?id=743018
This commit is contained in:
@@ -76,10 +76,10 @@
|
||||
* separately (typically by using #GArray or #GPtrArray) and put a pointer
|
||||
* to the buffer in the structure.
|
||||
*
|
||||
* A final word about type names: Such an identifier needs to be at least
|
||||
* three characters long. There is no upper length limit. The first character
|
||||
* needs to be a letter (a-z or A-Z) or an underscore '_'. Subsequent
|
||||
* characters can be letters, numbers or any of '-_+'.
|
||||
* As mentioned in the [GType conventions][gtype-conventions], type names must
|
||||
* be at least three characters long. There is no upper length limit. The first
|
||||
* character must be a letter (a–z or A–Z) or an underscore (‘_’). Subsequent
|
||||
* characters can be letters, numbers or any of ‘-_+’.
|
||||
*/
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user