This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "krobot".
The branch, master has been updated
via b18032438c48e011c678a04eb968c697bb90e66c (commit)
from a35b4e1cdf9f415501fa0ae4e44d2718ee5fb94c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b18032438c48e011c678a04eb968c697bb90e66c
Author: Jérémie Dimino <je...@di...>
Date: Mon Apr 25 21:32:28 2011 +0200
[krobot_message] add __attribute__((__packed__))
-----------------------------------------------------------------------
Changes:
diff --git a/info/control2011/src/lib/krobot_message_stubs.c b/info/control2011/src/lib/krobot_message_stubs.c
index ecb5de5..33909b1 100644
--- a/info/control2011/src/lib/krobot_message_stubs.c
+++ b/info/control2011/src/lib/krobot_message_stubs.c
@@ -12,12 +12,12 @@
#include <caml/alloc.h>
struct bezier_message {
- unsigned int x : 12;
- unsigned int y : 12;
- int d1 : 9;
- unsigned int d2 : 8;
- int theta : 12;
- unsigned int v : 11;
+ unsigned int x : 12 __attribute__((__packed__));
+ unsigned int y : 12 __attribute__((__packed__));
+ int d1 : 9 __attribute__((__packed__));
+ unsigned int d2 : 8 __attribute__((__packed__));
+ int theta : 12 __attribute__((__packed__));
+ unsigned int v : 11 __attribute__((__packed__));
};
CAMLprim value krobot_message_encode_bezier(value params)
hooks/post-receive
--
krobot
|