This file is indexed.

/usr/share/qcake/data/spl_stdlib.spl is in qcake-data 0.7.2-2build1.

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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
object Vector
{
	var x, y, z;
	
	method operator_add(a, b) {
		return new Vector(a.x .+ b.x, a.y .+ b.y, a.z .+ b.z);
	}
	
	method operator_sub(a, b) {
		return new Vector(a.x .- b.x, a.y .- b.y, a.z .- b.z);
	}
	
	method init(_x, _y, _z) {
		x = _x;
		y = _y;
		z = _z;
		return this;
	}
}

object QCO
{
	var id, ref;
	
	method getattr(@args)
	{
		return $getAttribute(ref, @args);
	}
	
	method setattr(@args)
	{
		return $setAttribute(ref, @args);
	}

	method getpos()
	{
		return new Vector($getPositionX(ref), $getPositionY(ref), $getPositionZ(ref));
	}

	method getrot()
	{
		return new Vector($getPositionH(ref), $getPositionP(ref), $getPositionR(ref));
	}
	
	method setpos(v)
	{
		return $setPosition(ref, v.x, v.y, v.z, $getPositionH(ref), $getPositionP(ref), $getPositionR(ref));
	}
	
	method setrot(r)
	{
		return $setPosition(ref, $getPositionX(ref), $getPositionY(ref), $getPositionZ(ref), r.x, r.y, r.z);
	}

	method rotate(r)
	{
		return $Rotate(ref, r.x, r.y, r.z);
	}

	method move(v)
	{
		return setpos(getpos() (+) v);
	}

	method getpos_x() { return $getPositionX(ref); }
	method getpos_y() { return $getPositionY(ref); }
	method getpos_z() { return $getPositionZ(ref); }

	method getrot_h() { return $getPositionH(ref); }
	method getrot_p() { return $getPositionP(ref); }
	method getrot_r() { return $getPositionR(ref); }

	method setsequence(s,m)
	{
		return $setSequence(ref, s, m);
	}

	method Ref()
	{
		return ref;
	}

	method init(_id)
	{
		id = _id;
		ref = getRef(id);
		return this;
	}
}