aboutsummaryrefslogtreecommitdiffstats
path: root/build/4coder_byp/custom/4coder_buffer_seek_constructors.cpp
blob: 558bd8dc47d0f4b89c438a9b3470ecf86c359eb6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Buffer seek descriptor constructors.
 */

// TOP

static Buffer_Seek
seek_pos(i64 pos){
 Buffer_Seek result;
 result.type = buffer_seek_pos;
 result.pos = pos;
 return(result);
 }

 static Buffer_Seek
 seek_line_col(i64 line, i64 col){
 Buffer_Seek result;
 result.type = buffer_seek_line_col;
 result.line = line;
 result.col = col;
 return(result);
}

// BOTTOM