2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-22 05:22:45 +00:00

- added return_by_value

[SVN r20127]
This commit is contained in:
Bruno da Silva de Oliveira
2003-09-21 02:07:07 +00:00
parent 92a77dfe7f
commit 6c22aceabc
3 changed files with 10 additions and 2 deletions

View File

@@ -1,5 +1,11 @@
20 September 2003
Added return_by_value in the list of policies supported. Thanks to Niall
Douglas for the remainder.
19 September 2003
Better support for unnamed enums, plus they are by default exported to the parent's namespace. Normal enums can have the same behaviour using the function export_values on the Enum object.
Better support for unnamed enums, plus they are by default exported to the
parent's namespace. Normal enums can have the same behaviour using the function
export_values on the Enum object. Feature requested by Niall Douglas.
10 September 2003
A new variable is accessible in the Pyste files: INTERFACE_FILE contains the

View File

@@ -81,3 +81,4 @@ copy_const_reference = 'copy_const_reference'
copy_non_const_reference = 'copy_non_const_reference'
manage_new_object = 'manage_new_object'
return_opaque_pointer = 'return_opaque_pointer'
return_by_value = 'return_by_value'

View File

@@ -43,7 +43,7 @@ from CppParser import CppParser, CppParserError
import time
import declarations
__version__ = '0.9.25'
__version__ = '0.9.26'
def RecursiveIncludes(include):
'Return a list containg the include dir and all its subdirectories'
@@ -192,6 +192,7 @@ def CreateContext():
context['copy_non_const_reference'] = copy_non_const_reference
context['return_opaque_pointer'] = return_opaque_pointer
context['manage_new_object'] = manage_new_object
context['return_by_value'] = return_by_value
# utils
context['Wrapper'] = exporterutils.FunctionWrapper
context['declaration_code'] = lambda code: infos.CodeInfo(code, 'declaration-outside')