24 lines
474 B
C
24 lines
474 B
C
#ifndef ROW_OP_H_
|
|
#define ROW_OP_H_
|
|
|
|
#include "data.h"
|
|
#include "define.h"
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <time.h>
|
|
#include <unistd.h>
|
|
|
|
void editorInsertRow(int at, char *s, int len);
|
|
|
|
void editorFreeRow(row_t *row);
|
|
|
|
int editorRowCxToByte(const row_t *row, int cursor_x);
|
|
|
|
int editorRowCharCount(row_t *row);
|
|
|
|
void editorRowInsertBytes(row_t *row, int at, const char *src, int len);
|
|
|
|
void editorRowDelByte(row_t *row, int at, int n);
|
|
|
|
#endif // ROW_OP_H_
|