diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2015-08-12 11:42:46 +0100 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2015-08-12 14:15:27 +0200 |
commit | 295d05e7330da45b705aa5081d140d7c84a931b0 (patch) | |
tree | 644f0304ffa210f737f5116a15eee79271726a10 /python_modules/demarshal.py | |
parent | 3ab16f2dad821bafe596383659a084fdd01d717e (diff) | |
download | spice-protocol-295d05e7330da45b705aa5081d140d7c84a931b0.tar.gz spice-protocol-295d05e7330da45b705aa5081d140d7c84a931b0.tar.xz spice-protocol-295d05e7330da45b705aa5081d140d7c84a931b0.zip |
Define and use new SPICE_MAGIC_CONST macro
This macro allow to define magic constants without using weird
memory tweacks.
This remove some possible warning from some compiler and
make code more optimized as compiler is able to compute the
constant.
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Diffstat (limited to 'python_modules/demarshal.py')
0 files changed, 0 insertions, 0 deletions