5 /* Includes the header in the wrapper code */
6 #define y2log_component "Y2Ruby"
7 #include <y2util/y2log.h>
10 #include <ycp/YCPCode.h>
11 #include <ycp/YCPElement.h>
12 #include <ycp/YCPExternal.h>
13 #include <ycp/YCPValue.h>
14 #include <ycp/YCPBoolean.h>
15 #include <ycp/YCPList.h>
16 #include <ycp/YCPMap.h>
17 #include <ycp/YCPString.h>
18 #include <ycp/YCPInteger.h>
19 #include <ycp/YCPFloat.h>
20 #include <ycp/YCPPath.h>
21 #include <ycp/YCPTerm.h>
22 #include <ycp/YCPVoid.h>
23 #include <ycp/Import.h>
24 #include <ycp/YBlock.h>
25 #include <ycp/YCPByteblock.h>
26 #include <ycp/Parser.h>
27 #include <ycp/pathsearch.h>
30 //static swig_type_info _swigt__p_YCPValue;
38 %rename("+") "operator+";
39 %rename("<<") "operator<<";
40 %rename("!=") "operator!=";
41 %rename("!") "operator!";
42 %rename("==") "operator==";
44 %include <ycp/YCode.h>
45 %include <ycp/YCPCode.h>
46 //%include <ycp/YCPElement.h>
47 //%include <ycp/YCPExternal.h>
48 %include <ycp/YCPValue.h>
50 %nodefaultctor YCPBoolean;
51 %include <ycp/YCPBoolean.h>
53 //%include <ycp/YCPList.h>
54 //%include <ycp/YCPMap.h>
56 %nodefaultctor YCPString;
57 %include <ycp/YCPString.h>
59 %nodefaultctor YCPInteger;
60 %include <ycp/YCPInteger.h>
62 %nodefaultctor YCPFloat;
63 %include <ycp/YCPFloat.h>
65 //%include <ycp/Import.h>
67 %nodefaultctor YCPExternal;
68 %include <ycp/YCPExternal.h>
70 %nodefaultctor YCPSymbol;
71 %include <ycp/YCPSymbol.h>
73 %nodefaultctor YCPTerm;
74 %include <ycp/YCPTerm.h>
76 %nodefaultctor YCPByteblock;
77 %include <ycp/YCPByteblock.h>
79 %include <ycp/YBlock.h>
80 %include <ycp/Parser.h>
81 //%include <ycp/pathsearch.h>