Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pellegrino Prevete
libhandy
Commits
71a8c019
Commit
71a8c019
authored
Dec 03, 2018
by
Alexander Mikhaylenko
Browse files
init: Add (transfer none) to argv parameter
This allows to call the function from Vala more easily.
parent
d98cfae5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/hdy-main.c
View file @
71a8c019
...
...
@@ -23,9 +23,9 @@ static gint hdy_initialized = FALSE;
* @argc: (inout) (optional): Address of the <parameter>argc</parameter>
* parameter of your main() function (or 0 if @argv is %NULL). This will be
* changed if any arguments were handled.
* @argv: (array length=argc) (inout) (nullable) (optional)
: Address of the
* <parameter>argv</parameter> parameter of main(), or %NULL.
Any options
* understood by Handy are stripped before return.
* @argv: (array length=argc) (inout) (nullable) (optional)
(transfer none):
*
Address of the
<parameter>argv</parameter> parameter of main(), or %NULL.
*
Any options
understood by Handy are stripped before return.
*
* Call this function before using any other Handy functions in your
* GUI applications. If libhandy has already been initialized, the function will
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment