summaryrefslogtreecommitdiff
path: root/src/client/disfluid-0-custom.vala
diff options
context:
space:
mode:
authorVivien Kraus <vivien@planete-kraus.eu>2021-11-11 15:45:04 +0000
committerVivien Kraus <vivien@planete-kraus.eu>2021-11-11 16:08:49 +0000
commitc5ac3629c9af092c11da0ac06c37af466f65dba2 (patch)
tree821bc25ad854e15ec422004a96b216f357d1a390 /src/client/disfluid-0-custom.vala
parent6c1cf4ff460112b8651684dbcf69a624312ac5a6 (diff)
Client API: use custom vala code to register the destructor
Diffstat (limited to 'src/client/disfluid-0-custom.vala')
-rw-r--r--src/client/disfluid-0-custom.vala21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/client/disfluid-0-custom.vala b/src/client/disfluid-0-custom.vala
new file mode 100644
index 0000000..295c67c
--- /dev/null
+++ b/src/client/disfluid-0-custom.vala
@@ -0,0 +1,21 @@
+// disfluid, implementation of the Solid specification
+// Copyright (C) 2021 Vivien Kraus
+
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+namespace Disfluid {
+ [CCode (free_function = "disfluid_client_free")]
+ [Compact]
+ public class Client { }
+} \ No newline at end of file