File renames in Scilab std_list example
Conform to usual file naming used in SWIG examples.
This commit is contained in:
parent
d3a54e50f8
commit
a41efbd0f7
4 changed files with 5 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
TOP = ../..
|
TOP = ../..
|
||||||
SWIG = $(TOP)/../preinst-swig
|
SWIG = $(TOP)/../preinst-swig
|
||||||
CXXSRCS = example.cpp
|
CXXSRCS = example.cxx
|
||||||
TARGET = example
|
TARGET = example
|
||||||
INTERFACE = example.i
|
INTERFACE = example.i
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
/* File : example.cpp */
|
/* File : example.cpp */
|
||||||
|
|
||||||
#include "example.hxx"
|
#include "example.h"
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <iterator>
|
#include <iterator>
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* File : example.hxx */
|
/* File : example.h */
|
||||||
|
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
%module example
|
%module example
|
||||||
|
|
||||||
%{
|
%{
|
||||||
#include "example.hxx"
|
#include "example.h"
|
||||||
%}
|
%}
|
||||||
|
|
||||||
%include stl.i
|
%include stl.i
|
||||||
|
|
@ -16,4 +16,4 @@ namespace std
|
||||||
%template(StringList) list<std::string>;
|
%template(StringList) list<std::string>;
|
||||||
}
|
}
|
||||||
|
|
||||||
%include "example.hxx"
|
%include "example.h"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue