Skip to content

Commit 6c22ace

Browse files
author
Bruno da Silva de Oliveira
committed
- added return_by_value
[SVN r20127]
1 parent 92a77df commit 6c22ace

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

pyste/NEWS

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1+
20 September 2003
2+
Added return_by_value in the list of policies supported. Thanks to Niall
3+
Douglas for the remainder.
4+
15
19 September 2003
2-
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.
6+
Better support for unnamed enums, plus they are by default exported to the
7+
parent's namespace. Normal enums can have the same behaviour using the function
8+
export_values on the Enum object. Feature requested by Niall Douglas.
39

410
10 September 2003
511
A new variable is accessible in the Pyste files: INTERFACE_FILE contains the

pyste/src/Pyste/policies.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,4 @@ def Code(self):
8181
copy_non_const_reference = 'copy_non_const_reference'
8282
manage_new_object = 'manage_new_object'
8383
return_opaque_pointer = 'return_opaque_pointer'
84+
return_by_value = 'return_by_value'

pyste/src/Pyste/pyste.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
import time
4444
import declarations
4545

46-
__version__ = '0.9.25'
46+
__version__ = '0.9.26'
4747

4848
def RecursiveIncludes(include):
4949
'Return a list containg the include dir and all its subdirectories'
@@ -192,6 +192,7 @@ def CreateContext():
192192
context['copy_non_const_reference'] = copy_non_const_reference
193193
context['return_opaque_pointer'] = return_opaque_pointer
194194
context['manage_new_object'] = manage_new_object
195+
context['return_by_value'] = return_by_value
195196
# utils
196197
context['Wrapper'] = exporterutils.FunctionWrapper
197198
context['declaration_code'] = lambda code: infos.CodeInfo(code, 'declaration-outside')

0 commit comments

Comments
 (0)