Add clownfish URIs for methods

Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/58e9152f
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/58e9152f
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/58e9152f

Branch: refs/heads/markdown_v2
Commit: 58e9152f7b6b2cc5df6a0995e17ded1a95feabfc
Parents: 07c8975
Author: Nick Wellnhofer <[email protected]>
Authored: Tue Dec 2 02:06:20 2014 +0100
Committer: Nick Wellnhofer <[email protected]>
Committed: Tue Dec 2 18:47:39 2014 +0100

----------------------------------------------------------------------
 runtime/core/Clownfish/CharBuf.cfh |  4 ++--
 runtime/core/Clownfish/Class.cfh   |  2 +-
 runtime/core/Clownfish/Hash.cfh    | 10 +++++-----
 runtime/core/Clownfish/Obj.cfh     | 14 +++++++-------
 4 files changed, 15 insertions(+), 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/58e9152f/runtime/core/Clownfish/CharBuf.cfh
----------------------------------------------------------------------
diff --git a/runtime/core/Clownfish/CharBuf.cfh 
b/runtime/core/Clownfish/CharBuf.cfh
index 0b1657f..5fa4cd7 100644
--- a/runtime/core/Clownfish/CharBuf.cfh
+++ b/runtime/core/Clownfish/CharBuf.cfh
@@ -92,7 +92,7 @@ class Clownfish::CharBuf nickname CB
      * hex:      %x32
      *
      * Note that all Clownfish Objects, including CharBufs, are printed via
-     * %o (which invokes Obj_To_String()).
+     * %o (which invokes [Obj_To_String()](clownfish:method:Obj:To_String)).
      */
     void
     VCatF(CharBuf *self, const char *pattern, va_list args);
@@ -143,7 +143,7 @@ class Clownfish::CharBuf nickname CB
     To_String(CharBuf *self);
 
     /** Return the content of the CharBuf as String and clear the CharBuf.
-     * This is more efficient than To_String().
+     * This is more efficient than [To_String()](clownfish:method:To_String).
      */
     public incremented String*
     Yield_String(CharBuf *self);

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/58e9152f/runtime/core/Clownfish/Class.cfh
----------------------------------------------------------------------
diff --git a/runtime/core/Clownfish/Class.cfh b/runtime/core/Clownfish/Class.cfh
index 4e5c085..22cab3c 100644
--- a/runtime/core/Clownfish/Class.cfh
+++ b/runtime/core/Clownfish/Class.cfh
@@ -45,7 +45,7 @@ class Clownfish::Class inherits Clownfish::Obj {
      * will be created using [parent] as a base.
      *
      * If [parent] is NULL, an attempt will be made to find it using
-     * Class_find_parent_class().  If the attempt fails, an error will
+     * [Class_find_parent_class()](clownfish:function:find_parent_class).  If 
the attempt fails, an error will
      * result.
      */
     inert Class*

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/58e9152f/runtime/core/Clownfish/Hash.cfh
----------------------------------------------------------------------
diff --git a/runtime/core/Clownfish/Hash.cfh b/runtime/core/Clownfish/Hash.cfh
index abc3f38..84c3ab3 100644
--- a/runtime/core/Clownfish/Hash.cfh
+++ b/runtime/core/Clownfish/Hash.cfh
@@ -20,8 +20,8 @@ parcel Clownfish;
  * Hashtable.
  *
  * Values are stored by reference and may be any kind of Obj. By default, keys
- * are cloned and so must belong to a class that implements Clone(); however,
- * this behavior can be changed by overridding Make_Key(), e.g. to implement
+ * are cloned and so must belong to a class that implements 
[Clone()](clownfish:method:Obj:Clone); however,
+ * this behavior can be changed by overridding 
[Make_Key()](clownfish:method:Make_Key), e.g. to implement
  * efficient hash sets.
  */
 class Clownfish::Hash inherits Clownfish::Obj {
@@ -54,7 +54,7 @@ class Clownfish::Hash inherits Clownfish::Obj {
     Clear(Hash *self);
 
     /** Store a key-value pair.  If `key` is not already present,
-     * Make_Key() will be called to manufacture the internally used key.
+     * [Make_Key()](clownfish:method:Make_Key) will be called to manufacture 
the internally used key.
      */
     void
     Store(Hash *self, Obj *key, decremented Obj *value);
@@ -117,8 +117,8 @@ class Clownfish::Hash inherits Clownfish::Obj {
     Values(Hash *self);
 
     /** Create a key to be stored within the hash entry.  Implementations must
-     * supply an object which produces the same Hash_Sum() value and tests
-     * true for Equals().  By default, calls Clone().
+     * supply an object which produces the same 
[Hash_Sum()](clownfish:method:Obj:Hash_Sum) value and tests
+     * true for [Equals()](clownfish:method:Obj:Equals).  By default, calls 
[Clone()](clownfish:method:Obj:Clone).
      */
     public incremented Obj*
     Make_Key(Hash *self, Obj *key, int32_t hash_sum);

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/58e9152f/runtime/core/Clownfish/Obj.cfh
----------------------------------------------------------------------
diff --git a/runtime/core/Clownfish/Obj.cfh b/runtime/core/Clownfish/Obj.cfh
index d3c9f59..184c311 100644
--- a/runtime/core/Clownfish/Obj.cfh
+++ b/runtime/core/Clownfish/Obj.cfh
@@ -40,25 +40,25 @@ public class Clownfish::Obj {
     incremented Obj*
     Inc_RefCount(Obj *self);
 
-    /** NULL-safe invocation of Inc_RefCount().
+    /** NULL-safe invocation of 
[Inc_RefCount()](clownfish:method:Inc_RefCount).
      *
      * @return NULL if `self` is NULL, otherwise the return value
-     * of Inc_RefCount().
+     * of [Inc_RefCount()](clownfish:method:Inc_RefCount).
      */
     inert inline incremented Obj*
     incref(Obj *self);
 
-    /** Decrement an object's refcount, calling Destroy() if it hits 0.
+    /** Decrement an object's refcount, calling 
[Destroy()](clownfish:method:Destroy) if it hits 0.
      *
      * @return the modified refcount.
      */
     uint32_t
     Dec_RefCount(Obj *self);
 
-    /** NULL-safe invocation of Dec_RefCount().
+    /** NULL-safe invocation of 
[Dec_RefCount()](clownfish:method:Dec_RefCount).
      *
      * @return NULL if `self` is NULL, otherwise the return value
-     * of Dec_RefCount().
+     * of [Dec_RefCount()](clownfish:method:Dec_RefCount).
      */
     inert inline uint32_t
     decref(Obj *self);
@@ -79,7 +79,7 @@ public class Clownfish::Obj {
     public void
     Destroy(Obj *self);
 
-    /** Invoke the Destroy() method found in `klass` on
+    /** Invoke the [Destroy()](clownfish:method:Destroy) method found in 
`klass` on
      * `self`.
      *
      * TODO: Eliminate this function if we can arrive at a proper SUPER syntax.
@@ -142,7 +142,7 @@ public class Clownfish::Obj {
     To_F64(Obj *self);
 
     /** Evaluate the object in a boolean context.  By default, invokes
-     * To_I64() and returns true if it is non-zero.
+     * [To_I64()](clownfish:method:To_I64) and returns true if it is non-zero.
      */
     public bool
     To_Bool(Obj *self);

Reply via email to