lballabio / QuantLib-SWIG

QuantLib wrappers to other languages
Other
342 stars 285 forks source link

Use typemap in PyObserver.[un]registerWith #619

Closed eltoder closed 8 months ago

eltoder commented 8 months ago

Use a typemap to handle conversion from Handles to Observable. This is compatible with -builtin and avoids code duplication.

Also, remove unneeded {} in typemaps.