blob: 3b71aa7c32a53b8b69cd8fb955eebbd9419658ca [file] [log] [blame]
%module yang
%{
extern "C" {
#include "libyang.h"
#include "tree_data.h"
}
%}
%include exception.i
%include <std_except.i>
%catches(std::runtime_error, std::exception, std::string);
%inline %{
#include <unistd.h>
#include "libyang.h"
#include <signal.h>
#include <vector>
#include <memory>
#include "Libyang.hpp"
#include "Tree_Data.hpp"
%}
%include "../swig_base/java_base.i"