Skip to content

Commit 378f1f1

Browse files
Minor tidying
1 parent 0b0ea75 commit 378f1f1

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/interface/shared/slots.i

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ static PyObject* __getitem__%mangle(type)_closure(
8989
}
9090
%fragment("__getitem__"{type});
9191
%feature("python:mp_subscript") type QUOTE(__getitem__%mangle(type)_closure);
92-
%enddef // SQ_ITEM
92+
%enddef // MP_SUBSCRIPT
9393

9494

9595
// Macro to add sq_ass_item slot and functions

src/interface/value.i

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,6 @@ SQ_ASS_ITEM(Exiv2::ValueType<item_type>, item_type,
284284
%feature("docstring") Exiv2::ValueType<item_type>::append
285285
"Append a " #item_type " component to the value."
286286
%template() std::vector<item_type>;
287-
%typemap(default) const item_type* INPUT {$1 = NULL;}
288287
%extend Exiv2::ValueType<item_type> {
289288
// Constructor, reads values from a Python list
290289
ValueType<item_type>(Exiv2::ValueType<item_type>::ValueList value) {
@@ -383,7 +382,6 @@ components."
383382
%noexception Exiv2::LangAltValue::values;
384383
%template() std::map<
385384
std::string, std::string, Exiv2::LangAltValueComparator>;
386-
%typemap(default) const std::string* INPUT {$1 = NULL;}
387385
%extend Exiv2::LangAltValue {
388386
// Constructor, reads values from a Python dict
389387
LangAltValue(Exiv2::LangAltValue::ValueType value) {

0 commit comments

Comments
 (0)