You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2014/12/04 22:46:06 UTC
[8/8] lucy-clownfish git commit: Convert cfish URIs to new syntax
Convert cfish URIs to new syntax
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/d481bd6e
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/d481bd6e
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/d481bd6e
Branch: refs/heads/markdown_v2
Commit: d481bd6e1cefefac926db5c3f6ae91e025946076
Parents: a1076cb
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Thu Dec 4 16:54:13 2014 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Thu Dec 4 18:58:48 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/d481bd6e/runtime/core/Clownfish/CharBuf.cfh
----------------------------------------------------------------------
diff --git a/runtime/core/Clownfish/CharBuf.cfh b/runtime/core/Clownfish/CharBuf.cfh
index 5fa4cd7..f8134e5 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()](clownfish:method:Obj:To_String)).
+ * %o (which invokes [](cfish: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()](clownfish:method:To_String).
+ * This is more efficient than [](cfish:.To_String).
*/
public incremented String*
Yield_String(CharBuf *self);
http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d481bd6e/runtime/core/Clownfish/Class.cfh
----------------------------------------------------------------------
diff --git a/runtime/core/Clownfish/Class.cfh b/runtime/core/Clownfish/Class.cfh
index 22cab3c..e4dff41 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()](clownfish:function:find_parent_class). If the attempt fails, an error will
+ * [](cfish:.find_parent_class). If the attempt fails, an error will
* result.
*/
inert Class*
http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/d481bd6e/runtime/core/Clownfish/Hash.cfh
----------------------------------------------------------------------
diff --git a/runtime/core/Clownfish/Hash.cfh b/runtime/core/Clownfish/Hash.cfh
index 84c3ab3..0b09785 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()](clownfish:method:Obj:Clone); however,
- * this behavior can be changed by overridding [Make_Key()](clownfish:method:Make_Key), e.g. to implement
+ * are cloned and so must belong to a class that implements [](cfish:Obj.Clone); however,
+ * this behavior can be changed by overridding [](cfish:.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()](clownfish:method:Make_Key) will be called to manufacture the internally used key.
+ * [](cfish:.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()](clownfish:method:Obj:Hash_Sum) value and tests
- * true for [Equals()](clownfish:method:Obj:Equals). By default, calls [Clone()](clownfish:method:Obj:Clone).
+ * supply an object which produces the same [](cfish:Obj.Hash_Sum) value and tests
+ * true for [](cfish:Obj.Equals). By default, calls [](cfish: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/d481bd6e/runtime/core/Clownfish/Obj.cfh
----------------------------------------------------------------------
diff --git a/runtime/core/Clownfish/Obj.cfh b/runtime/core/Clownfish/Obj.cfh
index 184c311..930e1f5 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()](clownfish:method:Inc_RefCount).
+ /** NULL-safe invocation of [](cfish:.Inc_RefCount).
*
* @return NULL if `self` is NULL, otherwise the return value
- * of [Inc_RefCount()](clownfish:method:Inc_RefCount).
+ * of [](cfish:.Inc_RefCount).
*/
inert inline incremented Obj*
incref(Obj *self);
- /** Decrement an object's refcount, calling [Destroy()](clownfish:method:Destroy) if it hits 0.
+ /** Decrement an object's refcount, calling [](cfish:.Destroy) if it hits 0.
*
* @return the modified refcount.
*/
uint32_t
Dec_RefCount(Obj *self);
- /** NULL-safe invocation of [Dec_RefCount()](clownfish:method:Dec_RefCount).
+ /** NULL-safe invocation of [](cfish:.Dec_RefCount).
*
* @return NULL if `self` is NULL, otherwise the return value
- * of [Dec_RefCount()](clownfish:method:Dec_RefCount).
+ * of [](cfish:.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()](clownfish:method:Destroy) method found in `klass` on
+ /** Invoke the [](cfish:.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()](clownfish:method:To_I64) and returns true if it is non-zero.
+ * [](cfish:.To_I64) and returns true if it is non-zero.
*/
public bool
To_Bool(Obj *self);