]> rtime.felk.cvut.cz Git - orte.git/commit
JORTE: fix endianness the proper way
authorMartin Vajnar <martin.vajnar@gmail.com>
Sun, 14 Jul 2013 12:57:21 +0000 (14:57 +0200)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Mon, 23 Sep 2013 09:06:25 +0000 (11:06 +0200)
commit3fe7c3a77544c835bdc9060984b79a6ef3e155b3
treea8224efb38a6fe98feac7dda2299527c58eeb2a5
parentd84cf9ad40116968e0ef12f350220d71ef6f512f
JORTE: fix endianness the proper way

Use the GNU C compiler macro __BYTE_ORDER__ to set data_endian on the C
side and ByteOrder.nativeOrder() function to set ByteBuffer's order
in the MessageData class on the Java side.
orte/java/src/org/ocera/orte/examples/hello/HelloMsg.java
orte/java/src/org/ocera/orte/types/MessageData.java
orte/libjorte/JORTEPublicationSend.c