mirror of
https://github.com/SELinuxProject/setools
synced 2025-04-09 11:01:24 +00:00
Merge pull request #157 from fishilico/swig-exception-typo
policyrep: fix a mispelling in SWIG error message
This commit is contained in:
commit
e434c1e688
@ -1138,7 +1138,7 @@ typedef struct qpol_iterator {} qpol_iterator_t;
|
|||||||
%extend qpol_iterator {
|
%extend qpol_iterator {
|
||||||
/* user never directly creates, but SWIG expects a constructor */
|
/* user never directly creates, but SWIG expects a constructor */
|
||||||
qpol_iterator() {
|
qpol_iterator() {
|
||||||
SWIG_exception(SWIG_TypeError, "User may not create iterators difectly");
|
SWIG_exception(SWIG_TypeError, "User may not create iterators directly");
|
||||||
fail:
|
fail:
|
||||||
return NULL;
|
return NULL;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user