/[hyperestraier_wrappers]/0.0.13/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

Annotation of /0.0.13/HyperEstraier.i

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14 - (hide annotations)
Fri Sep 9 15:26:39 2005 UTC (14 years, 1 month ago) by dpavlin
File size: 675 byte(s)
import of 0.0.13
1 dpavlin 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