Fix inline functions
Inline functions which are to be used in serveral files must be completly written in the .x file. SVN revision: 51361
This commit is contained in:
parent
10e27d2df0
commit
ff0f25ea7b
|
@ -62,7 +62,7 @@ ecore_x_atoms.c \
|
|||
ecore_x_region.c \
|
||||
ecore_x_image.c \
|
||||
ecore_x_xi2.c \
|
||||
ecore_x_inline.x
|
||||
ecore_x_randr.h
|
||||
|
||||
libecore_x_xlib_la_LIBADD = \
|
||||
@Xcursor_libs@ \
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#endif /* ifdef HAVE_CONFIG_H */
|
||||
|
||||
#include "ecore_x_private.h"
|
||||
#include "ecore_x_inline.x"
|
||||
#include "ecore_x_randr.h"
|
||||
|
||||
static Eina_Bool _randr_available = EINA_FALSE;
|
||||
#ifdef ECORE_XRANDR
|
||||
|
@ -85,7 +85,7 @@ ecore_x_randr_version_get(void)
|
|||
#endif
|
||||
}
|
||||
|
||||
inline Eina_Bool
|
||||
Eina_Bool
|
||||
_ecore_x_randr_root_validate(Ecore_X_Window root)
|
||||
{
|
||||
#ifdef ECORE_XRANDR
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef ECORE_X_INLINE_X
|
||||
#define ECORE_X_INLINE_X
|
||||
inline Eina_Bool _ecore_x_randr_root_validate(Ecore_X_Window root);
|
||||
inline Eina_Bool _ecore_x_randr_output_validate(Ecore_X_Window root,
|
||||
Eina_Bool _ecore_x_randr_root_validate(Ecore_X_Window root);
|
||||
Eina_Bool _ecore_x_randr_output_validate(Ecore_X_Window root,
|
||||
Ecore_X_Randr_Output
|
||||
output);
|
||||
#endif
|
|
@ -7,7 +7,7 @@
|
|||
#endif /* ifdef HAVE_CONFIG_H */
|
||||
|
||||
#include "ecore_x_private.h"
|
||||
#include "ecore_x_inline.x"
|
||||
#include "ecore_x_randr.h"
|
||||
|
||||
#define Ecore_X_Randr_None 0
|
||||
#ifdef ECORE_XRANDR
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#endif
|
||||
|
||||
#include "ecore_x_private.h"
|
||||
#include "ecore_x_inline.x"
|
||||
#include "ecore_x_randr.h"
|
||||
|
||||
#define Ecore_X_Randr_None 0
|
||||
#define Ecore_X_Randr_Unset -1
|
||||
|
@ -105,7 +105,7 @@ _ecore_x_randr_crtc_validate(Ecore_X_Window root, Ecore_X_Randr_Crtc crtc)
|
|||
#endif
|
||||
}
|
||||
|
||||
inline Eina_Bool
|
||||
Eina_Bool
|
||||
_ecore_x_randr_output_validate(Ecore_X_Window root, Ecore_X_Randr_Output output)
|
||||
{
|
||||
#ifdef ECORE_XRANDR
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#endif
|
||||
|
||||
#include "ecore_x_private.h"
|
||||
#include "ecore_x_inline.x"
|
||||
#include "ecore_x_randr.h"
|
||||
|
||||
#define Ecore_X_Randr_None 0
|
||||
#define Ecore_X_Randr_Unset -1
|
||||
|
|
Loading…
Reference in New Issue