From acede2573785c3d457acdb302085ec40c9a61699 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Mon, 16 Aug 2021 12:45:32 +0200 Subject: [PATCH] :art: cleaning --- include/env/nspc.h | 6 ------ 1 file changed, 6 deletions(-) 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 = -- 2.43.0