- Timestamp:
- 10/30/08 00:45:16 (5 years ago)
- Location:
- lang/c/msgpack/trunk
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/c/msgpack/trunk
-
Property
bzr:file-ids set
to
README 17708@d0d07461-0603-4401-acd4-de1884942a52:lang%2Fc%2Fmsgpack%2Ftrunk:README
-
Property
bzr:revision-id:v3-trunk3 set
to
33 frsyuki@users.sourceforge.jp-20081029153049-uixmc6lh3w96o9mr
-
Property
bzr:revision-info set
to
timestamp: 2008-10-30 00:30:49.476999998 +0900
committer: frsyuki <frsyuki@users.sourceforge.jp>
properties:
branch-nick: trunk
-
Property
bzr:file-ids set
to
-
lang/c/msgpack/trunk/README
r17708 r22330 2 2 ----------- 3 3 Binary-based efficient data interchange format. 4 5 6 *Requirements 7 8 MessagePack is only tested on Linux and Mac OS X, but it may run on other 9 UNIX-like platforms. 10 11 Following programs is required to build: 12 - gcc >= 4.0 with C++ support 13 - ruby >= 1.8 (ruby is used as a preprocessor) 14 15 16 *Installation 17 18 Simply run ./configure && make && make install to install C and C++ binding. 19 20 $ ./configure --prefix=path/to/prefix 21 $ make 22 $ make install 23 24 To install Ruby binding, run ./gengem.sh script in ruby/ directory and install 25 generated gem package. 26 27 $ cd ruby 28 $ ./gengem.sh 29 $ gem install gem/pkg/msgpack-*.gem 30 31 32 *Usage 33 34 C++: 35 #include <msgpack.hpp> 36 // TODO 37 38 39 C: 40 #include <msgpack.h> 41 /* TODO */ 42 43 44 Ruby: 45 require 'msgpack' 46 47 # serialize 48 buf = [1, 2, 3].to_msgpack 49 50 # deserialize 51 p MessagePack::unpack(buf) 52 53 # TODO 4 54 5 55
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)