mirror of
https://github.com/pevans/erc-c.git
synced 2024-12-21 23:29:16 +00:00
19 lines
323 B
C
19 lines
323 B
C
|
/*
|
||
|
* vm_area.c
|
||
|
*/
|
||
|
|
||
|
#include "vm_area.h"
|
||
|
|
||
|
/*
|
||
|
* Assign the values of an area, which are an x and y offset plus a
|
||
|
* width and height.
|
||
|
*/
|
||
|
inline void
|
||
|
vm_area_set(vm_area *area, int xoff, int yoff, int width, int height)
|
||
|
{
|
||
|
area->xoff = xoff;
|
||
|
area->yoff = yoff;
|
||
|
area->width = width;
|
||
|
area->height = height;
|
||
|
}
|