swc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/swc
Log | Files | Refs | README | LICENSE

commit 4a85e65f92f1540c27e51fd109f5b466b76fea53
parent d9e64424be213c03c383fdf7dd2dbfea2ec7da8e
Author: Michael Forney <mforney@mforney.org>
Date:   Fri, 21 Jun 2013 00:37:52 -0700

region: Drop region_ prefix

Diffstat:
Mregion.c | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/region.c b/region.c @@ -12,13 +12,13 @@ static void destroy_region_resource(struct wl_resource * resource) free(region); } -static void region_destroy(struct wl_client * client, +static void destroy(struct wl_client * client, struct wl_resource * resource) { wl_resource_destroy(resource); } -static void region_add(struct wl_client * client, +static void add(struct wl_client * client, struct wl_resource * resource, int32_t x, int32_t y, int32_t width, int32_t height) { @@ -28,7 +28,7 @@ static void region_add(struct wl_client * client, x, y, width, height); } -static void region_subtract(struct wl_client * client, +static void subtract(struct wl_client * client, struct wl_resource * resource, int32_t x, int32_t y, int32_t width, int32_t height) { @@ -40,9 +40,9 @@ static void region_subtract(struct wl_client * client, } static const struct wl_region_interface region_implementation = { - .destroy = &region_destroy, - .add = &region_add, - .subtract = &region_subtract + .destroy = &destroy, + .add = &add, + .subtract = &subtract }; bool swc_region_initialize(struct swc_region * region, struct wl_client * client,