src/misc.cpp

changeset 6
67b6ef6917ba
child 8
e8f645d9f28f
equal deleted inserted replaced
5:3c04e05ab24f 6:67b6ef6917ba
1 #include "misc.h"
2
3 uint32 makeByteID( uint8 a, uint8 b, uint8 c, uint8 d ) {
4 return a | ( b << 8 ) | ( c << 16 ) | ( d << 24 );
5 }
6
7 // =============================================================================
8 // -----------------------------------------------------------------------------
9 str binaryConfigName( str ver ) {
10 return fmt( "binaries/%1", ver );
11 }

mercurial