Skip to content

Commit

Permalink
MAINT: Revert changes to rangemedian for 0.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoZeke committed Aug 12, 2024
1 parent b82fb58 commit bae97e7
Showing 1 changed file with 46 additions and 8 deletions.
54 changes: 46 additions & 8 deletions asv/_rangemedian.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -348,14 +348,52 @@ static PyMethodDef RangeMedian_methods[] = {

static PyTypeObject RangeMedianType = {
PyVarObject_HEAD_INIT(NULL, 0)
.tp_name="RangeMedian",
.tp_basicsize=sizeof(RangeMedianObject),
.tp_dealloc=(destructor)RangeMedian_dealloc,
.tp_flags=Py_TPFLAGS_DEFAULT,
.tp_doc = NULL,
.tp_methods=RangeMedian_methods,
.tp_init=(initproc)RangeMedian_init,
.tp_new=RangeMedian_new
"RangeMedian",
sizeof(RangeMedianObject),
0,
(destructor)RangeMedian_dealloc, // tp_dealloc
0, // tp_print
0, // tp_getattr
0, // tp_setattr
0, // tp_compare / tp_reserved
0, // tp_repr
0, // tp_as_number
0, // tp_as_sequence
0, // tp_as_mapping
0, // tp_hash
0, // tp_call
0, // tp_str
0, // tp_getattro
0, // tp_setattro
0, // tp_as_buffer
Py_TPFLAGS_DEFAULT, // tp_flags
NULL, // tp_doc
0, // tp_traverse
0, // tp_clear
0, // tp_richcompare
0, // tp_weaklistoffset
0, // tp_iter
0, // tp_iternext
RangeMedian_methods, // tp_methods
0, // tp_members
0, // tp_getset
0, // tp_base
0, // tp_dict
0, // tp_descr_get
0, // tp_descr_set
0, // tp_dictoffset
(initproc)RangeMedian_init, // tp_init
0, // tp_alloc
RangeMedian_new, // tp_new
0, // tp_free
0, // tp_is_gc
0, // tp_bases
0, // tp_mro
0, // tp_cache
0, // tp_subclasses
0, // tp_weaklist
0, // tp_del
0, // tp_version_tag
};


Expand Down

0 comments on commit bae97e7

Please sign in to comment.