Last change
on this file was
18963eb,
checked in by Ted Faber <faber@…>, 11 years ago
|
Put these names back the way they are supposed to be. Whoops.
|
-
Property mode set to
100644
|
File size:
877 bytes
|
Rev | Line | |
---|
[06e2fc5] | 1 | %module ABAC |
---|
| 2 | |
---|
[461541a] | 3 | // Accessing these overloaded functions confuses perl and python. |
---|
[4721618] | 4 | // ignore the string& set, |
---|
| 5 | // The bare name takes an open file. |
---|
[af8e9b9] | 6 | %rename(ID_chunk) ABAC::ID::ID(abac_chunk_t); |
---|
[461541a] | 7 | %ignore ABAC::ID::write_cert(const std::string&); |
---|
| 8 | %ignore ABAC::ID::write_privkey(const std::string&); |
---|
| 9 | %ignore ABAC::Attribute::write(const std::string&); |
---|
| 10 | |
---|
[98aafce] | 11 | // Accessing these overloaded functions confuses perl and python. |
---|
| 12 | // Rename these so we can get to them |
---|
| 13 | |
---|
| 14 | %rename(ID_chunk) Creddy::ID::ID(abac_chunk_t); |
---|
| 15 | |
---|
| 16 | |
---|
[06e2fc5] | 17 | %{ |
---|
| 18 | #include "abac.hh" |
---|
| 19 | using namespace ABAC; |
---|
| 20 | %} |
---|
| 21 | |
---|
| 22 | %include "language.i" |
---|
| 23 | |
---|
| 24 | %ignore std::vector<ABAC::Credential>::vector(size_type); |
---|
| 25 | %ignore std::vector<ABAC::Credential>::resize(size_type); |
---|
| 26 | %ignore std::vector<ABAC::Credential>::pop(); |
---|
[af8e9b9] | 27 | |
---|
[06e2fc5] | 28 | %include "std_vector.i" |
---|
| 29 | |
---|
| 30 | namespace std { |
---|
| 31 | %template(CredentialVector) vector<ABAC::Credential>; |
---|
| 32 | }; |
---|
| 33 | |
---|
| 34 | %include "abac.h" |
---|
| 35 | %include "abac.hh" |
---|
Note: See
TracBrowser
for help on using the repository browser.