1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-12-21 23:29:16 +00:00
erc-c/src/vm_area.c

19 lines
323 B
C
Raw Normal View History

2018-01-08 02:05:02 +00:00
/*
* 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;
}