source:
downloads/boost_1_33_1/libs/python/pyste/tests/add_test.h
@
14
| Last change on this file since 14 was 12, checked in by landauf, 18 years ago | |
|---|---|
| File size: 326 bytes | |
| Line | |
|---|---|
| 1 | /* Copyright Bruno da Silva de Oliveira 2003. Use, modification and |
| 2 | distribution is subject to the Boost Software License, Version 1.0. |
| 3 | (See accompanying file LICENSE_1_0.txt or copy at |
| 4 | http:#www.boost.org/LICENSE_1_0.txt) |
| 5 | */ |
| 6 | namespace add_test { |
| 7 | |
| 8 | struct C |
| 9 | { |
| 10 | int x; |
| 11 | }; |
| 12 | |
| 13 | const int get_x(C& c) |
| 14 | { |
| 15 | return c.x; |
| 16 | } |
| 17 | |
| 18 | } |
Note: See TracBrowser
for help on using the repository browser.










