attempt to create generated bindings for
[platform/upstream/libzypp-bindings.git] / README
1
2 attempt to create generated bindings for
3 libzypp. Not restricted to one language.
4
5 author: dmacvicar@suse.de
6
7 Notes:
8
9 - Some classes are not wrapped but converted to
10   equivalents:
11   
12 Usage:
13
14 Requires swig and ruby installed.
15
16 make -f Makefile.swig
17 ruby extconf.rb
18 make
19 ruby test.rb
20
21 Ruby Notes
22 ==========
23
24 * API tries to follow ruby standards:
25 * zypp::Pathname -> std Pathname in ruby
26 * zypp::Date -> std Time in ruby
27 * ResStore does not implement iterators but:
28   * each
29   * each_by_name
30   * etc
31 * lower case methods, ie: ZYppFactory::instance.get_zypp
32   instead of ZYppFactory::instance()->getZYpp()
33   z.initialize_target("/") for z.initializeTarget("/")