|
14 | 14 | namespace boost { namespace python { |
15 | 15 |
|
16 | 16 | template <class Target, class Key> |
17 | | -inline object getattr(Target const& target, Key const& key) |
| 17 | +object getattr(Target const& target, Key const& key) |
18 | 18 | { |
19 | 19 | return getattr(object(target), object(key)); |
20 | 20 | } |
21 | 21 |
|
22 | 22 |
|
23 | 23 | template <class Key, class Value> |
24 | | -inline void setattr(object const& target, Key const& key, Value const& value) |
| 24 | +void setattr(object const& target, Key const& key, Value const& value) |
25 | 25 | { |
26 | 26 | return setattr(target, object(key), object(value)); |
27 | 27 | } |
28 | 28 |
|
29 | 29 | template <class Target, class Key> |
30 | | -inline object getitem(Target const& target, Key const& key) |
| 30 | +object getitem(Target const& target, Key const& key) |
31 | 31 | { |
32 | 32 | return getitem(object(target), object(key)); |
33 | 33 | } |
34 | 34 |
|
35 | 35 |
|
36 | 36 | template <class Key, class Value> |
37 | | -inline void setitem(object const& target, Key const& key, Value const& value) |
| 37 | +void setitem(object const& target, Key const& key, Value const& value) |
38 | 38 | { |
39 | 39 | return setitem(target, object(key), object(value)); |
40 | 40 | } |
|
0 commit comments