Revert "Octave: cleanup/restructure library files"
This reverts commit bf12d76d03.
Reverting a series of Octave commits for re-applying again without
incorrect whitespace changes.
This commit is contained in:
parent
457ba43989
commit
23373e9ffd
42 changed files with 3698 additions and 4284 deletions
|
|
@ -1,17 +1,22 @@
|
|||
//
|
||||
// std_complex.i - STL complex typemaps
|
||||
//
|
||||
/*
|
||||
* STD C++ complex typemaps
|
||||
*/
|
||||
|
||||
%include <octcomplex.swg>
|
||||
|
||||
%header %{
|
||||
#include <complex>
|
||||
%{
|
||||
#include <complex>
|
||||
%}
|
||||
|
||||
// Define the complex as/from converters
|
||||
/* defining the complex as/from converters */
|
||||
|
||||
%swig_cplxdbl_convn(std::complex<double>, std::complex<double>, std::real, std::imag)
|
||||
%swig_cplxflt_convn(std::complex<float>, std::complex<float>, std::real, std::imag)
|
||||
|
||||
// Define the typemaps
|
||||
/* defining the typemaps */
|
||||
|
||||
%typemaps_primitive(%checkcode(CPLXDBL), std::complex<double>);
|
||||
%typemaps_primitive(%checkcode(CPLXFLT), std::complex<float>);
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue