Skip to content
Snippets Groups Projects
Commit ed8c8051 authored by marco's avatar marco
Browse files

revert order of exports

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2110 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent e9aaa6bb
No related branches found
No related tags found
No related merge requests found
......@@ -194,6 +194,8 @@ void export_sequence()
const_seq_handle_def<ConstSequenceHandle>(const_seq);
const_generic_prop_def<ConstSequenceHandle>(const_seq);
class_<SequenceHandle> seq_handle("SequenceHandle", init<>());
const_seq_handle_def<SequenceHandle>(seq_handle);
generic_prop_def<SequenceHandle>(seq_handle);
seq_handle
.def("SetSequenceOffset", &SequenceHandle::SetSequenceOffset)
.def("AttachView", attach_one)
......@@ -211,8 +213,7 @@ void export_sequence()
.add_property("sequence_offset", &SequenceHandle::GetSequenceOffset,
&SequenceHandle::SetSequenceOffset)
;
const_seq_handle_def<SequenceHandle>(seq_handle);
generic_prop_def<SequenceHandle>(seq_handle);
implicitly_convertible<SequenceHandle, ConstSequenceHandle>();
def("CreateSequence", &CreateSequence);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment