#ifndef ROW_OP_H_ #define ROW_OP_H_ #include "data.h" #include "define.h" #include #include #include #include int bufferRowCxToRx(frow *row, int cursor_x); int bufferRowRxToCx(frow *row, int rx); void bufferUpdatfrow(frow *row); void bufferInsertRow(struct buffer_t *buffer, int at, char *s, size_t len); void bufferFrefrow(frow *row); void bufferDelRow(struct buffer_t *buffer, int at); void bufferRowInsertChar(struct buffer_t *buffer, frow *row, int at, int c); void bufferRowAppendString(struct buffer_t *buffer, frow *row, char *s, size_t len); void bufferRowDelchar(struct buffer_t *buffer, frow *row, int at); #endif // ROW_OP_H_