Frediano Ziglio
ba7af04f65
rect: Avoid usage of "small"
...
Some Windows headers define "small" causing issues.
Use "small_rect" instead. For coherence use "big_rect" instead of
"big".
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Acked-by: Francesco Giudici <fgiudici@redhat.com>
2020-06-25 16:17:39 +01:00
Frediano Ziglio
125cfa7fb2
Unify headers guard names
...
Always use H_SPICE_COMMON_ prefix with uppercase filename (without
extension).
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Uri Lublin <uril@redhat.com
2018-11-26 11:20:57 +00:00
Marc-André Lureau
7e8ba10779
Remove INLINE usage
...
Since inline is c99 and its already used in some files
2013-10-04 12:45:00 +02:00
Yonit Halperin
cbf423f833
rect: add rect_debug
2012-05-02 14:47:26 +03:00
Yonit Halperin
ffeb6ce677
rect: add rect_get_area
2012-05-02 14:47:26 +03:00
Yonit Halperin
2e4b605272
rect: add rect_contains
2012-05-02 14:47:26 +03:00
Marc-André Lureau
c4482c7ff2
Use SPICE_{BEGIN,END}_DECLS
2012-03-20 15:30:23 +01:00
Daniel P. Berrange
f83432a685
Remove trailing blank lines
...
Remove any blank lines at the end of all source files
2012-03-20 15:25:55 +01:00
Arnon Gilboa
88f7e2b32d
common: use INLINE instead of inline
...
needed for spice/common files used by the client, server & qxl driver.
in windows _inline works for both c/c++, while inline is c++ only.
compiling the client with mixed c/c++ code required this define.
2012-03-20 15:25:53 +01:00
Christophe Fergeau
c15c5050af
common: add extern "C" guards to headers
...
Since some spice C++ code is using code from common/, the C
functions need to be marked as such for the C++ compiler, otherwise
we'll get linkage issues.
2012-03-20 15:25:51 +01:00
Alexander Larsson
24c2e3c85f
Fix inclusion of common files, no need for common/ part
2012-03-20 15:25:48 +01:00
Alexander Larsson
c471990a9f
Move in spice/draw.h from spice-protocol to common/
2012-03-20 15:25:48 +01:00
Alexander Larsson
92e30df45c
Relicense everything from GPL to LGPL 2.1+
2012-03-20 15:25:41 +01:00
Alexander Larsson
29b01c2c16
Use macros from <spice/macros.h> rather than duplicate them
2012-03-20 15:25:40 +01:00
Alexander Larsson
9d9a3e12c0
Add emacs settings for indent according to spice styleguide
2012-03-20 15:25:37 +01:00
Alexander Larsson
87d0104241
Use the new header names
...
I just ran:
find -name "*.[ch]" | xargs sed -i -f ../spice-protocol/includes.sed
find -name "*.cpp" | xargs sed -i -f ../spice-protocol/includes.sed
2012-03-20 15:25:37 +01:00
Alexander Larsson
2637b1ac76
Rename symbols that were changed in spice-protocol
...
This is an automatic change using:
$ find -name "*.[ch]" | xargs ../spice-protocol/rename-identifiers.sh ../spice-protocol/renames
$ find -name "*.cpp" | xargs ../spice-protocol/rename-identifiers.sh ../spice-protocol/renames
2012-03-20 15:25:37 +01:00
Yaniv Kamay
a9ae774c90
fresh start
2012-03-20 15:25:36 +01:00