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 = ../..
|
||||
SWIG = $(TOP)/../preinst-swig
|
||||
CXXSRCS = example.cpp
|
||||
CXXSRCS = example.cxx
|
||||
TARGET = example
|
||||
INTERFACE = example.i
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
/* File : example.cpp */
|
||||
|
||||
#include "example.hxx"
|
||||
#include "example.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <iterator>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
/* File : example.hxx */
|
||||
/* File : example.h */
|
||||
|
||||
#include <list>
|
||||
#include <string>
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
%module example
|
||||
|
||||
%{
|
||||
#include "example.hxx"
|
||||
#include "example.h"
|
||||
%}
|
||||
|
||||
%include stl.i
|
||||
|
|
@ -16,4 +16,4 @@ namespace std
|
|||
%template(StringList) list<std::string>;
|
||||
}
|
||||
|
||||
%include "example.hxx"
|
||||
%include "example.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue