From b0098a55172cde2b3ae9aee9f79fd0a66c869b77 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Thu, 10 Oct 2019 00:31:45 +0200 Subject: [PATCH] :shirt: Remove useless func --- include/type.h | 2 +- src/oo/type.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/type.h b/include/type.h index 8b6b56e8..7b80a27a 100644 --- a/include/type.h +++ b/include/type.h @@ -30,7 +30,7 @@ ANN2(1,3) ANEW Type new_type(MemPool, const m_uint xid, const m_str name, const ANEW ANN Type type_copy(MemPool, const Type type); ANN m_str get_type_name(const Env, const m_str, const m_uint); ANN Value find_value(const Type, const Symbol); -ANN Func find_func(const Type, const Symbol); +//ANN Func find_func(const Type, const Symbol); ANN m_bool isa(const Type, const Type) __attribute__((pure)); ANN m_bool isres(const Env, const Symbol, const loc_t pos); ANN Type array_type(const Env, const Type, const m_uint); diff --git a/src/oo/type.c b/src/oo/type.c index c88d69de..bcdb2bfd 100644 --- a/src/oo/type.c +++ b/src/oo/type.c @@ -82,7 +82,7 @@ ANN t find_##name(const Type type, const Symbol xid) { \ return type->e->parent ? find_##name(type->e->parent, xid) : NULL; \ } describe_find(value, Value) -describe_find(func, Func) +//describe_find(func, Func) ANN Type typedef_base(Type t) { while(GET_FLAG(t, typedef)) -- 2.43.0