/[hyperestraier_wrappers]/trunk/HyperEstraier.i
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/HyperEstraier.i

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations)
Sat Sep 3 18:02:31 2005 UTC (18 years, 6 months ago) by dpavlin
Original Path: 0.0.12/HyperEstraier.i
File size: 675 byte(s)
import of hyper_estraier_wrappers-0.0.12.tar.gz

1 %module HyperEstraier
2
3 %include exception.i
4 %include "stl.i"
5
6 %exception {
7 try {
8 $action
9 } catch (const char *msg) {
10 SWIG_exception(SWIG_RuntimeError, msg);
11 }
12 }
13
14 namespace std {
15 %template(StrVector) std::vector<std::string>;
16 %template(IntVector) std::vector<int>;
17 %template() std::pair<std::string,std::string>;
18 %template(StrStrMap) std::map<std::string,std::string>;
19 };
20
21 %newobject Document::get_dump_draft();
22 %newobject Document::get_attr_names();
23 %newobject Database::search();
24 %newobject Database::etch_doc();
25 %newobject Document::make_snippet();
26 %newobject Document::texts();
27
28 %{
29 #include "HyperEstraierWrapper.cpp"
30 %}
31
32 %include "HyperEstraierWrapper.cpp"

  ViewVC Help
Powered by ViewVC 1.1.26