Change error messages in C bindings

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

Branch: refs/heads/master
Commit: 13a9ccce33f2d121a7a13063fbaae09f67a70c12
Parents: 6a696e8
Author: Nick Wellnhofer <wellnho...@aevum.de>
Authored: Sat May 30 13:48:51 2015 +0200
Committer: Nick Wellnhofer <wellnho...@aevum.de>
Committed: Sat May 30 13:48:51 2015 +0200

----------------------------------------------------------------------
 runtime/c/src/clownfish.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/13a9ccce/runtime/c/src/clownfish.c
----------------------------------------------------------------------
diff --git a/runtime/c/src/clownfish.c b/runtime/c/src/clownfish.c
index d9baa11..6917ec2 100644
--- a/runtime/c/src/clownfish.c
+++ b/runtime/c/src/clownfish.c
@@ -121,7 +121,7 @@ cfish_dec_refcount(void *vself) {
 void*
 Obj_To_Host_IMP(Obj *self) {
     UNUSED_VAR(self);
-    THROW(ERR, "TODO");
+    THROW(ERR, "Obj_To_Host not supported in C bindings");
     UNREACHABLE_RETURN(void*);
 }
 
@@ -148,7 +148,7 @@ Obj*
 Class_Foster_Obj_IMP(Class *self, void *host_obj) {
     UNUSED_VAR(self);
     UNUSED_VAR(host_obj);
-    THROW(ERR, "TODO");
+    THROW(ERR, "Class_Foster_Obj not supported in C bindings");
     UNREACHABLE_RETURN(Obj*);
 }
 
@@ -167,7 +167,7 @@ Class_fresh_host_methods(String *class_name) {
 String*
 Class_find_parent_class(String *class_name) {
     UNUSED_VAR(class_name);
-    THROW(ERR, "TODO");
+    THROW(ERR, "Class_find_parent_class not supported in C bindings");
     UNREACHABLE_RETURN(String*);
 }
 

Reply via email to