mirror of
https://github.com/rfivet/uemacs.git
synced 2024-11-14 16:46:04 -05:00
Move struct region from estruct.t to regiom.h.
This commit is contained in:
parent
7b079662e4
commit
870989f948
4
Makefile
4
Makefile
@ -178,8 +178,8 @@ posix.o: posix.c termio.h
|
||||
random.o: random.c random.h basic.h buffer.h crypt.h line.h utf8.h \
|
||||
display.h estruct.h retcode.h edef.h execute.h input.h log.h search.h \
|
||||
window.h defines.h
|
||||
region.o: region.c region.h estruct.h retcode.h buffer.h crypt.h line.h \
|
||||
utf8.h edef.h log.h window.h defines.h
|
||||
region.o: region.c region.h line.h utf8.h buffer.h crypt.h estruct.h \
|
||||
retcode.h edef.h log.h window.h defines.h
|
||||
search.o: search.c search.h estruct.h retcode.h basic.h buffer.h crypt.h \
|
||||
line.h utf8.h display.h edef.h input.h log.h window.h defines.h
|
||||
spawn.o: spawn.c spawn.h defines.h buffer.h crypt.h line.h utf8.h \
|
||||
|
10
estruct.h
10
estruct.h
@ -385,16 +385,6 @@
|
||||
int cexit( int status) ;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* The starting position of a region, and the size of the region in
|
||||
* characters, is kept in a region structure. Used by the region commands.
|
||||
*/
|
||||
struct region {
|
||||
struct line *r_linep; /* Origin struct line address. */
|
||||
int r_offset; /* Origin struct line offset. */
|
||||
long r_size; /* Length in characters. */
|
||||
};
|
||||
|
||||
/*
|
||||
* The editor communicates with the display using a high level interface. A
|
||||
* "TERM" structure holds useful variables, and indirect pointers to routines
|
||||
|
12
region.h
12
region.h
@ -1,7 +1,17 @@
|
||||
#ifndef _REGION_H_
|
||||
#define _REGION_H_
|
||||
|
||||
#include "estruct.h"
|
||||
#include "line.h"
|
||||
|
||||
/*
|
||||
* The starting position of a region, and the size of the region in
|
||||
* characters, is kept in a region structure. Used by the region commands.
|
||||
*/
|
||||
struct region {
|
||||
struct line *r_linep; /* Origin struct line address. */
|
||||
int r_offset; /* Origin struct line offset. */
|
||||
long r_size; /* Length in characters. */
|
||||
};
|
||||
|
||||
int killregion( int f, int n) ;
|
||||
int copyregion( int f, int n) ;
|
||||
|
Loading…
Reference in New Issue
Block a user