From daead841103b1c243090411f86a870b50a5de786 Mon Sep 17 00:00:00 2001 From: Colin Kiama Date: Thu, 13 Jun 2024 21:33:28 +0100 Subject: [PATCH] Update broken links about page and tutorials ownership page --- source/about.rst | 2 +- .../main/04-00-advanced-features/04-10-ownership.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/about.rst b/source/about.rst index e5d39ef..e9f01b4 100644 --- a/source/about.rst +++ b/source/about.rst @@ -3,7 +3,7 @@ About Vala **valac**, the Vala compiler, is a self-hosting compiler that translates Vala source code into C source and header files. It uses the GObject type system to create classes and interfaces declared in the Vala source code. -`The syntax of Vala `_ is similar to C#, modified to better fit the GObject type system. Vala supports modern language features as the following: +`The syntax of Vala `_ is similar to C#, modified to better fit the GObject type system. Vala supports modern language features as the following: * Interfaces * Properties diff --git a/source/tutorials/programming-language/main/04-00-advanced-features/04-10-ownership.rst b/source/tutorials/programming-language/main/04-00-advanced-features/04-10-ownership.rst index 79295e5..c09a238 100644 --- a/source/tutorials/programming-language/main/04-00-advanced-features/04-10-ownership.rst +++ b/source/tutorials/programming-language/main/04-00-advanced-features/04-10-ownership.rst @@ -4,7 +4,7 @@ Ownership Unowned References ------------------ -Normally when creating an object in Vala you are returned a reference to it. Specifically this means that as well as being passed a pointer to the object in memory, it is also recorded in the object itself that this pointer exists. Similarly, whenever another reference to the object is created, this is also recorded. As an object knows how many references there are to it, it can automatically be removed when needed. This is the basis of `memory management `_. +Normally when creating an object in Vala you are returned a reference to it. Specifically this means that as well as being passed a pointer to the object in memory, it is also recorded in the object itself that this pointer exists. Similarly, whenever another reference to the object is created, this is also recorded. As an object knows how many references there are to it, it can automatically be removed when needed. This is the basis of `memory management `_. Methods ownership -----------------