19 lines
546 B
C
19 lines
546 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 bufferInsertRow(struct buffer_t *buffer, int at, char *s, size_t len);
|
|
int editorRowCxToByte(const row_t *row, int cursor_x);
|
|
void bufferFreeRow(row_t *row);
|
|
int editorRowCharCount(row_t *row, int x);
|
|
void bufferRowInsertBytes(struct buffer_t *buffer, row_t *row, int at, char *src, int n);
|
|
void bufferRowDelByte(struct buffer_t *buffer, row_t *row, int at, int n);
|
|
|
|
#endif // ROW_OP_H_
|