src/misc.cpp

changeset 6
67b6ef6917ba
child 8
e8f645d9f28f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/misc.cpp	Wed Jul 17 18:46:47 2013 +0300
@@ -0,0 +1,11 @@
+#include "misc.h"
+
+uint32 makeByteID( uint8 a, uint8 b, uint8 c, uint8 d ) {
+	return a | ( b << 8 ) | ( c << 16 ) | ( d << 24 );
+}
+
+// =============================================================================
+// -----------------------------------------------------------------------------
+str binaryConfigName( str ver ) {
+	return fmt( "binaries/%1", ver );
+}
\ No newline at end of file

mercurial