Deprecation documentation
- From: Jonas Platte <mail jonasplatte de>
- To: gir-devel-list gnome org
- Subject: Deprecation documentation
- Date: Tue, 23 Jun 2015 01:33:16 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi,
I recently started contributing to the haskell-gi bindings, and have
tried to get deprecation pragmas generated. That has worked so far,
but now I would like to include the corresponding documentation (the
deprecation reason as seen in the .gir files as <doc-deprecated>).
I've tried to see how pygobject does this, and found this [1].
However, if I try to do this the same way (implementation: [2]) I
never get back anything (-> there is no "deprecated" attribute; I also
tried "doc-deprecated"). So, was I looking in the completely wrong
part of pygobject? How do I get the deprecation reason correctly?
Thanks,
Jonas
[1] https://git.gnome.org/browse/pygobject/tree/gi/pygi-cache.c#n679
[2]
https://github.com/garetxe/haskell-gi/blob/deprecated-symbols/GI/Interna
l/BaseInfo.chs#L40
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJViJs4AAoJEChniccSSv3rC7cIAKI96iYe3FmRyBxf8rA+3zaY
6Okdh4Y8MDxUyhgP39IckwVQvPzp8aoIlhNyGtqzAJV/8UfYzcJJuDi9ClYWiCJ8
r9WHe8VrubuwR92HkYgLbJ2m3lHSAqMpODZQNqhNCIYpQO0pqjH+dGMJt982FDmi
hLB5q8Ryj+p4m1b0dIxCsaGN5ikcNkaj8u0GjYiKL/6o+c/EjnvKcXStDr+kVwkA
Ved1+TNl5QosTnQhwgDygV7oDR5L4ulfttf5xW1BZ6W81nXyRy0DX+pX05RluJah
3KvUxEyd19f63eTeaEbBR/7GoGNHId+UrtXRQes6le66q1wdjBZv7y5ZY6ZW5d4=
=ocru
-----END PGP SIGNATURE-----
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]