Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
corpus2
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Analysers
corpus2
Commits
1fd83399
Commit
1fd83399
authored
13 years ago
by
Paweł Kędzia
Browse files
Options
Downloads
Patches
Plain Diff
Wrapper for PwrNlp::PwrNlpError
parent
01f9e76f
Branches
Branches containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
swig/Makefile
+20
-6
20 additions, 6 deletions
swig/Makefile
swig/libpwrnlperror.i
+29
-0
29 additions, 0 deletions
swig/libpwrnlperror.i
with
49 additions
and
6 deletions
swig/Makefile
+
20
−
6
View file @
1fd83399
...
@@ -13,7 +13,8 @@ ANTLRLIB=/usr/lib/libantlr-pic.a
...
@@ -13,7 +13,8 @@ ANTLRLIB=/usr/lib/libantlr-pic.a
CPPFLAGS
=
-fPIC
-O2
CPPFLAGS
=
-fPIC
-O2
CBIN
=
libcorpustag.o
\
CBIN
=
libpwrnlperror.o
\
libcorpustag.o
\
libcorpustagset.o
\
libcorpustagset.o
\
libcorpustagsetmanager.o
\
libcorpustagsetmanager.o
\
libcorpuslexeme.o
\
libcorpuslexeme.o
\
...
@@ -27,7 +28,8 @@ CBIN=libcorpustag.o \
...
@@ -27,7 +28,8 @@ CBIN=libcorpustag.o \
libcorpusannotatedsentence.o
\
libcorpusannotatedsentence.o
\
libcorpusannotationview.o
libcorpusannotationview.o
CBINOUT
=
_boost_shared_ptr.so
\
CBINOUT
=
_libpwrnlperror.so
\
_boost_shared_ptr.so
\
_libcorpustag.so
\
_libcorpustag.so
\
_libcorpustagset.so
\
_libcorpustagset.so
\
_libcorpustagsetmanager.so
\
_libcorpustagsetmanager.so
\
...
@@ -42,7 +44,8 @@ CBINOUT=_boost_shared_ptr.so \
...
@@ -42,7 +44,8 @@ CBINOUT=_boost_shared_ptr.so \
_libcorpusannotatedsentence.so
\
_libcorpusannotatedsentence.so
\
_libcorpusannotationview.so
_libcorpusannotationview.so
CWRAP
=
boost_shared_ptr_wrap.cxx
\
CWRAP
=
libpwrnlperror_wrap.cxx
\
boost_shared_ptr_wrap.cxx
\
libcorpustag_wrap.cxx
\
libcorpustag_wrap.cxx
\
libcorpustagset_wrap.cxx
\
libcorpustagset_wrap.cxx
\
libcorpustagsetmanager_wrap.cxx
\
libcorpustagsetmanager_wrap.cxx
\
...
@@ -57,7 +60,8 @@ CWRAP=boost_shared_ptr_wrap.cxx \
...
@@ -57,7 +60,8 @@ CWRAP=boost_shared_ptr_wrap.cxx \
libcorpusannotatedsentence_wrap.cxx
\
libcorpusannotatedsentence_wrap.cxx
\
libcorpusannotationview_wrap.cxx
libcorpusannotationview_wrap.cxx
CWRAPBIN
=
boost_shared_ptr_wrap.o
\
CWRAPBIN
=
libpwrnlperror_wrap.o
\
boost_shared_ptr_wrap.o
\
libcorpustag_wrap.o
\
libcorpustag_wrap.o
\
libcorpustagset_wrap.o
\
libcorpustagset_wrap.o
\
libcorpustagsetmanager_wrap.o
\
libcorpustagsetmanager_wrap.o
\
...
@@ -72,7 +76,8 @@ CWRAPBIN=boost_shared_ptr_wrap.o \
...
@@ -72,7 +76,8 @@ CWRAPBIN=boost_shared_ptr_wrap.o \
libcorpusannotatedsentence_wrap.o
\
libcorpusannotatedsentence_wrap.o
\
libcorpusannotationview_wrap.o
libcorpusannotationview_wrap.o
PYMODULES
=
boost_shared_ptr.py
\
PYMODULES
=
libpwrnlperror.py
\
boost_shared_ptr.py
\
libcorpustag.py
\
libcorpustag.py
\
libcorpustagset.py
\
libcorpustagset.py
\
libcorpustagsetmanager.py
\
libcorpustagsetmanager.py
\
...
@@ -87,7 +92,8 @@ PYMODULES=boost_shared_ptr.py \
...
@@ -87,7 +92,8 @@ PYMODULES=boost_shared_ptr.py \
libcorpusannotatedsentence.py
\
libcorpusannotatedsentence.py
\
libcorpusannotationview.py
libcorpusannotationview.py
PYCBIN
=
boost_shared_ptr.pyc
\
PYCBIN
=
libpwrnlperror.pyc
\
boost_shared_ptr.pyc
\
libcorpustag.pyc
\
libcorpustag.pyc
\
libcorpustagset.pyc
\
libcorpustagset.pyc
\
libcorpustagsetmanager.pyc
\
libcorpustagsetmanager.pyc
\
...
@@ -116,6 +122,14 @@ boost_shared_ptr.o:
...
@@ -116,6 +122,14 @@ boost_shared_ptr.o:
$(
CPP
)
-c
boost_shared_ptr_wrap.cxx
-I
$(
PYTHONDIR
)
$(
CPPFLAGS
)
$(
CPP
)
-c
boost_shared_ptr_wrap.cxx
-I
$(
PYTHONDIR
)
$(
CPPFLAGS
)
$(
CPP
)
-shared
boost_shared_ptr_wrap.o
-o
_boost_shared_ptr.so
$(
CPP
)
-shared
boost_shared_ptr_wrap.o
-o
_boost_shared_ptr.so
# -----------------------------------------------------------------------------
# PwrNlpError wprapper
# -----------------------------------------------------------------------------
# PwrNlpError
libpwrnlperror.o
:
$(
SWIG
)
$(
SWIGOPTS_LANG
)
libpwrnlperror.i
$(
CPP
)
-c
libpwrnlperror_wrap.cxx
-I
$(
PYTHONDIR
)
$(
CPPFLAGS
)
$(
CPP
)
-shared
libpwrnlperror_wrap.o
-o
_libpwrnlperror.so
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# Corpus2 Wrappers
# Corpus2 Wrappers
...
...
This diff is collapsed.
Click to expand it.
swig/libpwrnlperror.i
0 → 100644
+
29
−
0
View file @
1fd83399
#
ifndef
SWIG_LIBPWRNLP_PWRNLPERROR_I
#
define
SWIG_LIBPWRNLP_PWRNLPERROR_I
%
module
libpwrnlperror
%
{
#include <libpwrutils/exception.h>
%}
%
include
"
std_except.i
"
%
nodefaultctor
PwrNlp
::
PwrNlpError
;
namespace
PwrNlp
{
class PwrNlpError : public std::runtime_error {
public:
PwrNlpError(const std::string &what);
/* --------------------------------------------------------------------- */
~PwrNlpError() throw();
virtual std::string info() const;
virtual std::string scope() const;
};
}
using
namespace
std
;
using
namespace
PwrNlp
;
#
endif
/* SWIG_LIBPWRNLP_PWRNLPERROR_I */
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment