/usr/share/devhelp/books/vala-0.14/structs.html is in vala-0.14-doc 0.14.2-2ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | <?xml version="1.0"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Structs - Vala Reference Manual</title>
<link rel="stylesheet" type="text/css" href="default.css"/>
</head>
<body>
<div class="header">
<a href="index.html">Vala Reference Manual</a>
</div>
<h2>Structs</h2>
<p>A struct is a data type that can contain fields, constants, and methods.</p>
<h3>Struct declarations<a id="declaration"> </a></h3>
<p>The simplest struct declaration looks like this:</p>
<pre>
struct StructName {
<struct-member>
}</pre>
<p>You may optionally specify an accessibility modifier. Structs support <code>public</code> and <code>private</code> accessibility and default to private if you don't specify one. Public structs may be accessed from outside the library or application they are defined in.</p>
<pre>
public struct StructName {
<struct-member>
}</pre>
<p>You may optionally prefix the struct name with a namespace name. This places the struct in the specified namespace without the need for a separate namespace declaration.</p>
<pre>
struct NamespaceName.StructName {
<struct-member>
}</pre>
<h3>Fields<a id="fields"> </a></h3>
<p>Documentation</p>
<h3>Methods<a id="methods"> </a></h3>
<p>Documentation</p>
<h3>Properties<a id="properties"> </a></h3>
<p>Documentation</p>
</body>
</html>
|