summaryrefslogtreecommitdiffhomepage
path: root/vala.html.markdown
diff options
context:
space:
mode:
authorKeve Nagy <6276321+KeveNagy@users.noreply.github.com>2022-01-03 17:21:42 +0100
committerGitHub <noreply@github.com>2022-01-04 00:21:42 +0800
commitda4f1ff4c8038ac2dccec7ec695453e32696139b (patch)
treedd725942875ba25d00f598fb07cfd76b29486598 /vala.html.markdown
parent3971ad07745d5df74ac2b4efde88419f866c8f36 (diff)
Small correction for vala.html.markdown (#4160)
On line 486, replaced &i with &more. While at it, on lines 497-503 I also transformed all the "here" hyperlinks to their most obvious replacements.
Diffstat (limited to 'vala.html.markdown')
-rwxr-xr-xvala.html.markdown12
1 files changed, 6 insertions, 6 deletions
diff --git a/vala.html.markdown b/vala.html.markdown
index 393578b0..06d6dedc 100755
--- a/vala.html.markdown
+++ b/vala.html.markdown
@@ -483,7 +483,7 @@ pointer_obj->some_data; // Returns some_data
delete pointer_obj;
int more = 57;
-int* more_pointer = &i; // & = address-of
+int* more_pointer = &more; // & = address-of
int indirection_demo = more_pointer*; // indirection
// Profiles: affect which Vala features are avaliable and which libraries the
@@ -494,10 +494,10 @@ int indirection_demo = more_pointer*; // indirection
// Use "--profile=whatever" when compiling.
```
-* More Vala documentation can be found [here](https://valadoc.org/).
+* More [Vala documentation](https://valadoc.org/).
* [Alternate construction syntax](https://wiki.gnome.org/Projects/Vala/Tutorial#GObject-Style_Construction) similar to GObject
-* More on contract programming [here](http://en.wikipedia.org/wiki/Contract_programming)
-* Collections library can be found [here](https://wiki.gnome.org/Projects/Vala/Tutorial#Collections)
+* More on [contract programming](http://en.wikipedia.org/wiki/Contract_programming)
+* [Collections library](https://wiki.gnome.org/Projects/Vala/Tutorial#Collections)
* [Multithreading](https://wiki.gnome.org/Projects/Vala/Tutorial#Multi-Threading)
-* Read about building GUIs with GTK+ and Vala [here](http://archive.is/7C7bw).
-* D-Bus [integration](https://wiki.gnome.org/Projects/Vala/Tutorial#D-Bus_Integration)
+* Read about [building GUIs with GTK+ and Vala](http://archive.is/7C7bw).
+* [D-Bus integration](https://wiki.gnome.org/Projects/Vala/Tutorial#D-Bus_Integration)