api: move verbatim c code out of gendispatch.lua and into c files

Remove max_fname_len check, which caused false successful lookups,
and was an optimization for a very rare case.
This commit is contained in:
Björn Linse
2016-09-27 16:54:08 +02:00
parent 9d4fcec7c6
commit caf85b80ae
5 changed files with 89 additions and 90 deletions

View File

@@ -18,6 +18,7 @@ typedef struct {
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "api/private/dispatch.h.generated.h"
# include "api/private/dispatch_wrappers.h.generated.h"
#endif
#endif // NVIM_API_PRIVATE_DISPATCH_H