mirror of
https://github.com/rfivet/uemacs.git
synced 2024-12-20 00:06:45 -05:00
More function declarations: region.c
Hey, "word.c" is now sparse-clean.
This commit is contained in:
parent
9605cf8826
commit
021605246c
7
edef.h
7
edef.h
@ -484,3 +484,10 @@ extern void putline(int row, int col, char *buf);
|
|||||||
extern void getscreensize(int *widthp, int *heightp);
|
extern void getscreensize(int *widthp, int *heightp);
|
||||||
extern void sizesignal(int signr);
|
extern void sizesignal(int signr);
|
||||||
extern int newscreensize(int h, int w);
|
extern int newscreensize(int h, int w);
|
||||||
|
|
||||||
|
/* region.c */
|
||||||
|
extern int killregion(int f, int n);
|
||||||
|
extern int copyregion(int f, int n);
|
||||||
|
extern int lowerregion(int f, int n);
|
||||||
|
extern int upperregion(int f, int n);
|
||||||
|
extern int getregion(REGION *rp);
|
||||||
|
11
region.c
11
region.c
@ -19,7 +19,7 @@
|
|||||||
* Move "." to the start, and kill the characters.
|
* Move "." to the start, and kill the characters.
|
||||||
* Bound to "C-W".
|
* Bound to "C-W".
|
||||||
*/
|
*/
|
||||||
killregion(f, n)
|
int killregion(int f, int n)
|
||||||
{
|
{
|
||||||
register int s;
|
register int s;
|
||||||
REGION region;
|
REGION region;
|
||||||
@ -42,7 +42,7 @@ killregion(f, n)
|
|||||||
* at all. This is a bit like a kill region followed
|
* at all. This is a bit like a kill region followed
|
||||||
* by a yank. Bound to "M-W".
|
* by a yank. Bound to "M-W".
|
||||||
*/
|
*/
|
||||||
copyregion(f, n)
|
int copyregion(int f, int n)
|
||||||
{
|
{
|
||||||
register LINE *linep;
|
register LINE *linep;
|
||||||
register int loffs;
|
register int loffs;
|
||||||
@ -80,7 +80,7 @@ copyregion(f, n)
|
|||||||
* redisplay is done in all buffers. Bound to
|
* redisplay is done in all buffers. Bound to
|
||||||
* "C-X C-L".
|
* "C-X C-L".
|
||||||
*/
|
*/
|
||||||
lowerregion(f, n)
|
int lowerregion(int f, int n)
|
||||||
{
|
{
|
||||||
register LINE *linep;
|
register LINE *linep;
|
||||||
register int loffs;
|
register int loffs;
|
||||||
@ -117,7 +117,7 @@ lowerregion(f, n)
|
|||||||
* redisplay is done in all buffers. Bound to
|
* redisplay is done in all buffers. Bound to
|
||||||
* "C-X C-L".
|
* "C-X C-L".
|
||||||
*/
|
*/
|
||||||
upperregion(f, n)
|
int upperregion(int f, int n)
|
||||||
{
|
{
|
||||||
register LINE *linep;
|
register LINE *linep;
|
||||||
register int loffs;
|
register int loffs;
|
||||||
@ -157,8 +157,7 @@ upperregion(f, n)
|
|||||||
* an "ABORT" status; we might make this have the
|
* an "ABORT" status; we might make this have the
|
||||||
* conform thing later.
|
* conform thing later.
|
||||||
*/
|
*/
|
||||||
getregion(rp)
|
int getregion(REGION *rp)
|
||||||
register REGION *rp;
|
|
||||||
{
|
{
|
||||||
register LINE *flp;
|
register LINE *flp;
|
||||||
register LINE *blp;
|
register LINE *blp;
|
||||||
|
Loading…
Reference in New Issue
Block a user