source: swig/creddy.i @ bc62c32

abac0-leakabac0-meicompt_changesgec13mei-idmei-rt0-nmei_rt0mei_rt2mei_rt2_fix_1meiyap-rt1meiyap1rt2tvf-new-xml
Last change on this file since bc62c32 was 11e3eb7, checked in by Mike Ryan <mikeryan@…>, 14 years ago

return binary representations of ID and attr certs in abac_chunk_t
suitable for passing off to libabac
supported in perl and python natively
closes #9

  • Property mode set to 100644
File size: 297 bytes
Line 
1%module Creddy
2
3%include "exception.i"
4%include "chunk.i"
5
6%exception {
7    try {
8        $action
9    }
10    catch (const std::exception &e) {
11        SWIG_exception(SWIG_RuntimeError, e.what());
12    }
13}
14
15%{
16#include "creddy.hh"
17using namespace Creddy;
18%}
19
20%include "creddy.h"
21%include "creddy.hh"
Note: See TracBrowser for help on using the repository browser.