Commit 3a4598cf authored by Jim Bankoski's avatar Jim Bankoski Committed by Gerrit Code Review

Merge "Converted function to inline"

parents 2697d6c8 99e4c508
......@@ -34,8 +34,8 @@ typedef struct mv32 {
int32_t col;
} MV32;
static void clamp_mv(MV *mv, int min_col, int max_col,
int min_row, int max_row) {
static INLINE void clamp_mv(MV *mv, int min_col, int max_col,
int min_row, int max_row) {
mv->col = clamp(mv->col, min_col, max_col);
mv->row = clamp(mv->row, min_row, max_row);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment