Mercurial > pytave
comparison Makefile.am @ 411:3613ffbd52b2
Overhaul implicit conversion of arguments and return values
* oct-py-types.cc, oct-py-types.h (pytave::py_implicitly_convert_argument,
pytave::py_implicitly_convert_return_value): New functions.
* __py_struct_from_dict__.cc, oct-py-eval.cc, pycall.cc, pyeval.cc, pyexec.cc:
Use them instead of legacy conversion functions. Add necessary #includes,
remove #includes of legacy header files.
* @pyobject/subsasgn.m, @pyobject/subsref.m: Change %!tests that depend on
NumPy implicit conversion into %!xtests.
* octave_to_python.cc, octave_to_python.h, python_to_octave.cc,
python_to_octave.h: Delete, no longer used.
* Makefile.am (COMMON_SOURCE_FILES, PYTAVE_HEADER_FILES): Remove the files.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Wed, 03 May 2017 16:30:45 -0700 |
parents | 478d83448b0b |
children | db29823a8919 |
comparison
equal
deleted
inserted
replaced
410:95c6ad0be828 | 411:3613ffbd52b2 |
---|---|
27 INCFLAGS = $(DEFAULT_INCLUDES) | 27 INCFLAGS = $(DEFAULT_INCLUDES) |
28 export INCFLAGS | 28 export INCFLAGS |
29 | 29 |
30 COMMON_SOURCE_FILES = \ | 30 COMMON_SOURCE_FILES = \ |
31 exceptions.cc \ | 31 exceptions.cc \ |
32 octave_to_python.cc \ | |
33 oct-py-eval.cc \ | 32 oct-py-eval.cc \ |
34 oct-py-init.cc \ | 33 oct-py-init.cc \ |
35 oct-py-types.cc \ | 34 oct-py-types.cc \ |
36 oct-py-util.cc \ | 35 oct-py-util.cc |
37 python_to_octave.cc | |
38 | 36 |
39 DOC_FILES = \ | 37 DOC_FILES = \ |
40 INSTALL.md \ | 38 INSTALL.md \ |
41 README.md | 39 README.md |
42 | 40 |
70 exceptions.h \ | 68 exceptions.h \ |
71 oct-py-eval.h \ | 69 oct-py-eval.h \ |
72 oct-py-init.h \ | 70 oct-py-init.h \ |
73 oct-py-object.h \ | 71 oct-py-object.h \ |
74 oct-py-types.h \ | 72 oct-py-types.h \ |
75 oct-py-util.h \ | 73 oct-py-util.h |
76 octave_to_python.h \ | |
77 python_to_octave.h | |
78 | 74 |
79 TST_FILES = $(addsuffix -tst,$(OCT_SOURCE_FILES)) | 75 TST_FILES = $(addsuffix -tst,$(OCT_SOURCE_FILES)) |
80 | 76 |
81 EXTRA_DIST = $(DOC_FILES) $(M_FILES) $(OCT_SOURCE_FILES) | 77 EXTRA_DIST = $(DOC_FILES) $(M_FILES) $(OCT_SOURCE_FILES) |
82 | 78 |