mirror of
https://github.com/boostorg/python.git
synced 2026-01-23 05:42:30 +00:00
- added INTERFACE_FILE
[SVN r20005]
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
10 September 2003
|
||||
A new variable is accessible in the Pyste files: INTERFACE_FILE contains the
|
||||
full path of the pyste file.
|
||||
|
||||
4 September 2003
|
||||
Now it is possible to override protected and private pure virtual functions
|
||||
in Python, as requested by Roman Yakovenko.
|
||||
|
||||
@@ -43,7 +43,7 @@ from CppParser import CppParser, CppParserError
|
||||
import time
|
||||
import declarations
|
||||
|
||||
__version__ = '0.9.23'
|
||||
__version__ = '0.9.24'
|
||||
|
||||
def RecursiveIncludes(include):
|
||||
'Return a list containg the include dir and all its subdirectories'
|
||||
@@ -249,6 +249,7 @@ def ExecuteInterface(interface):
|
||||
_imported_count[interface] = _imported_count.get(interface, 0) + 1
|
||||
exporters.current_interface = interface
|
||||
context = CreateContext()
|
||||
context['INTERFACE_FILE'] = os.path.abspath(interface)
|
||||
execfile(interface, context)
|
||||
exporters.current_interface = old_interface
|
||||
|
||||
|
||||
Reference in New Issue
Block a user