Package pyplusplus :: Package code_repository

Source Code for Package pyplusplus.code_repository

 1  # Copyright 2004-2008 Roman Yakovenko. 
 2  # Distributed under the Boost Software License, Version 1.0. (See 
 3  # accompanying file LICENSE_1_0.txt or copy at 
 4  # http://www.boost.org/LICENSE_1_0.txt) 
 5   
 6  """ 
 7  Code repository package is used as a repository of C++ classes/functions. 
 8  Those classes/functions solve problems, that are typical to most projects. 
 9  Right now, this package contains set of classes that help to export one 
10  dimensional static arrays. For example: 
11   
12  C{char data[23];} 
13   
14  """ 
15   
16  import array_1 
17  import gil_guard 
18  import named_tuple 
19  import convenience 
20  import return_range 
21  import call_policies 
22  import ctypes_integration 
23   
24  all = [ array_1 
25          , gil_guard 
26          , convenience 
27          , call_policies 
28          , named_tuple 
29          , return_range 
30          , ctypes_integration ] 
31   
32  headers = map( lambda f: f.file_name, all ) 
33