mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
macro: Add MAX macro and rename min to MIN
This commit is contained in:
@@ -8,7 +8,8 @@
|
||||
#ifndef NVIM_VIM_H
|
||||
# define NVIM_VIM_H
|
||||
|
||||
#define min(X, Y) (X < Y ? X : Y)
|
||||
#define MIN(X, Y) (X < Y ? X : Y)
|
||||
#define MAX(X, Y) (X > Y ? X : Y)
|
||||
|
||||
#include "nvim/types.h"
|
||||
#include "nvim/pos.h" // for linenr_T, MAXCOL, etc...
|
||||
|
||||
Reference in New Issue
Block a user