2
0
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:
Bruno da Silva de Oliveira
2003-09-10 21:55:50 +00:00
parent 6ada069d5a
commit 621b5fc2db
2 changed files with 6 additions and 1 deletions

View File

@@ -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.

View File

@@ -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