[libhttpseverywhere] docs: add since to new methods



commit 8638e4c7dd159779adeeb44f4c0cd8c38765242a
Author: grindhold <grindhold gmx net>
Date:   Sat Mar 25 15:32:35 2017 +0100

    docs: add since to new methods
    
    every method that was introduced as of 0.4 now bears a
    "@since 0.4" annotation in their docstrings

 src/context.vala |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/context.vala b/src/context.vala
index 802f42c..1042032 100644
--- a/src/context.vala
+++ b/src/context.vala
@@ -224,6 +224,7 @@ namespace HTTPSEverywhere {
 
         /**
          * Tells this context to ignore the ruleset with the given id
+         * @since 0.4
          */
         public void ignore_ruleset(uint id) {
             this.ignore_list.add(id);
@@ -231,6 +232,7 @@ namespace HTTPSEverywhere {
 
         /**
          * Tells this context to check for a previously ignored ruleset again
+         * @since 0.4
          */
         public void unignore_ruleset(uint id) {
             if (id in this.ignore_list)
@@ -239,6 +241,7 @@ namespace HTTPSEverywhere {
 
         /**
          * Tells this context to ignore the given host
+         * @since 0.4
          */
         public void ignore_host(string host) {
             throw new ContextError.NOT_IMPLEMENTED("Context.ignore_host ist not implemented yet.");
@@ -246,6 +249,7 @@ namespace HTTPSEverywhere {
 
         /**
          * Tells this context to check for a previously ignored host again
+         * @since 0.4
          */
         public void unignore_host(string host) {
             throw new ContextError.NOT_IMPLEMENTED("Context.unignore_host ist not implemented yet.");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]