summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorCremno <[email protected]>2013-02-03 19:48:41 +0100
committerCremno <[email protected]>2013-02-03 19:48:41 +0100
commitfeaff10c58059644818802bba189bf32f6ad8f79 (patch)
tree922dad4b017763517f60cf441d4b85fa5c427e19
parent6e583830d2556212b3b033c313ac4260a9a106e0 (diff)
downloadmruby-feaff10c58059644818802bba189bf32f6ad8f79.tar.gz
mruby-feaff10c58059644818802bba189bf32f6ad8f79.zip
removed declarations of undefined functions
-rw-r--r--include/mruby.h4
-rw-r--r--include/mruby/compile.h1
-rw-r--r--include/mruby/hash.h3
-rw-r--r--include/mruby/string.h1
4 files changed, 0 insertions, 9 deletions
diff --git a/include/mruby.h b/include/mruby.h
index 19ddf96de..432595b4c 100644
--- a/include/mruby.h
+++ b/include/mruby.h
@@ -307,10 +307,6 @@ typedef enum call_type {
CALL_TYPE_MAX
} call_type;
-/* compar.c */
-void mrb_cmperr(mrb_state *mrb, mrb_value x, mrb_value y);
-int mrb_cmpint(mrb_state *mrb, mrb_value val, mrb_value a, mrb_value b);
-
#ifndef ANYARGS
# ifdef __cplusplus
# define ANYARGS ...
diff --git a/include/mruby/compile.h b/include/mruby/compile.h
index e035b9e02..5bdc7ccea 100644
--- a/include/mruby/compile.h
+++ b/include/mruby/compile.h
@@ -101,7 +101,6 @@ struct mrb_parser_state {
struct mrb_parser_state* mrb_parser_new(mrb_state*);
void mrb_parser_free(struct mrb_parser_state*);
-const char *mrb_parser_filename(struct mrb_parser_state*, const char*);
void mrb_parser_parse(struct mrb_parser_state*,mrbc_context*);
/* utility functions */
diff --git a/include/mruby/hash.h b/include/mruby/hash.h
index acb9de93b..ac28f13fd 100644
--- a/include/mruby/hash.h
+++ b/include/mruby/hash.h
@@ -27,7 +27,6 @@ void mrb_hash_set(mrb_state *mrb, mrb_value hash, mrb_value key, mrb_value val);
mrb_value mrb_hash_get(mrb_state *mrb, mrb_value hash, mrb_value key);
mrb_value mrb_hash_fetch(mrb_state *mrb, mrb_value hash, mrb_value key, mrb_value def);
mrb_value mrb_hash_delete_key(mrb_state *mrb, mrb_value hash, mrb_value key);
-mrb_value mrb_hash(mrb_state *mrb, mrb_value obj);
mrb_value mrb_hash_keys(mrb_state *mrb, mrb_value hash);
mrb_value mrb_check_hash_type(mrb_state *mrb, mrb_value hash);
@@ -41,8 +40,6 @@ struct kh_ht * mrb_hash_tbl(mrb_state *mrb, mrb_value hash);
#define MRB_HASH_PROC_DEFAULT 256
#define MRB_RHASH_PROCDEFAULT_P(h) (RHASH(h)->flags & MRB_HASH_PROC_DEFAULT)
-mrb_value mrb_obj_is_proc(mrb_value proc);
-
/* GC functions */
void mrb_gc_mark_ht(mrb_state*, struct RHash*);
size_t mrb_gc_mark_ht_size(mrb_state*, struct RHash*);
diff --git a/include/mruby/string.h b/include/mruby/string.h
index 4ff0f1ee1..38e8f930d 100644
--- a/include/mruby/string.h
+++ b/include/mruby/string.h
@@ -72,7 +72,6 @@ mrb_value mrb_str_to_inum(mrb_state *mrb, mrb_value str, int base, int badcheck)
double mrb_str_to_dbl(mrb_state *mrb, mrb_value str, int badcheck);
mrb_value mrb_str_to_str(mrb_state *mrb, mrb_value str);
mrb_int mrb_str_hash(mrb_state *mrb, mrb_value str);
-int mrb_str_hash_cmp(mrb_state *mrb, mrb_value str1, mrb_value str2);
mrb_value mrb_str_buf_append(mrb_state *mrb, mrb_value str, mrb_value str2);
mrb_value mrb_str_inspect(mrb_state *mrb, mrb_value str);
int mrb_str_equal(mrb_state *mrb, mrb_value str1, mrb_value str2);