mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-22 18:22:11 +01:00
docs: Clarify an example in GObject concepts.md
Continue the existing example to make things more joined up and concrete.
This commit is contained in:
parent
35d76da8c8
commit
cc6f09f3f6
@ -343,7 +343,7 @@ new types which are to be exported in a header file:
|
||||
named ‘save’ on an instance of object type ‘file’, call `file_save`.
|
||||
- Use prefixing to avoid namespace conflicts with other projects. If your
|
||||
library (or application) is named `Viewer`, prefix all your function names
|
||||
with `viewer_`. For example: `viewer_object_method`.
|
||||
with `viewer_`. For example: `viewer_file_save`.
|
||||
- The prefix should be a single term, i.e. should not contain any capital
|
||||
letters after the first letter. For example, `Exampleprefix` rather than
|
||||
`ExamplePrefix`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user