summaryrefslogtreecommitdiff
path: root/src/tests/ecore_wl2/ecore_wl2_tests_helpers.h
blob: f897dc91231eb1f04c9c4d01d1c86a58f90a3292 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef ECORE_WL2_TEST_HELPERS_H
# define ECORE_WL2_TEST_HELPERS_H

# include <Ecore_Wl2.h>

static Ecore_Wl2_Display *
_display_setup(void)
{
   Ecore_Wl2_Display *disp;

   disp = ecore_wl2_display_create(NULL);
   return disp;
}

static Ecore_Wl2_Display *
_display_connect(void)
{
   Ecore_Wl2_Display *disp;

   disp = ecore_wl2_display_connect(NULL);
   return disp;
}

#endif