1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-06-24 15:29:32 +00:00
erc-c/src/vm_area.c
2018-01-07 20:05:02 -06:00

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;
}