From: Jérémie Astor Date: Mon, 16 Aug 2021 10:45:32 +0000 (+0200) Subject: :art: cleaning X-Git-Tag: nightly~470^2~78 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=acede2573785c3d457acdb302085ec40c9a61699;p=gwion.git :art: cleaning --- diff --git a/include/env/nspc.h b/include/env/nspc.h index 920c3cb8..6ebe139c 100644 --- a/include/env/nspc.h +++ b/include/env/nspc.h @@ -72,12 +72,6 @@ describe_nspc_func(Value, value) describe_nspc_func(Type, type) ANN void did_you_mean_type(const Type, const char *); ANN void did_you_mean_trait(Nspc nspc, const char *name); -#define DID_YOU_MEAN_LIMIT 128 -#define did_you_mean_nspc(a, b) \ - if (strlen(b) < DID_YOU_MEAN_LIMIT) did_you_mean_nspc(a, b); -#define did_you_mean_type(a, b) \ - if (strlen(b) < DID_YOU_MEAN_LIMIT) did_you_mean_type(a, b); - ANN static inline void nspc_allocdata(MemPool mp, const Nspc nspc) { if (nspc->class_data_size) { nspc->class_data =