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:
William S Fulton 2014-10-09 19:34:02 +01:00
commit 23373e9ffd
42 changed files with 3698 additions and 4284 deletions

View file

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