summaryrefslogtreecommitdiff
path: root/src/python/gudhi/simplex_tree.pxd
diff options
context:
space:
mode:
authorROUVREAU Vincent <vincent.rouvreau@inria.fr>2021-04-22 08:39:03 +0200
committerROUVREAU Vincent <vincent.rouvreau@inria.fr>2021-04-22 08:39:03 +0200
commitf4f5992e9025d055e35c86589923f1b0299f552e (patch)
treecda7295aade59f3c8e1a2dbd97fc0123766ab9b1 /src/python/gudhi/simplex_tree.pxd
parentc2eb0484191f89fcbe40bc4ab04943eb808f12a9 (diff)
code review: rename block_func when it is a type. Type is a 'callable'
Diffstat (limited to 'src/python/gudhi/simplex_tree.pxd')
-rw-r--r--src/python/gudhi/simplex_tree.pxd4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/gudhi/simplex_tree.pxd b/src/python/gudhi/simplex_tree.pxd
index 80c6ffca..ff750af9 100644
--- a/src/python/gudhi/simplex_tree.pxd
+++ b/src/python/gudhi/simplex_tree.pxd
@@ -67,8 +67,8 @@ cdef extern from "Simplex_tree_interface.h" namespace "Gudhi":
Simplex_tree_skeleton_iterator get_skeleton_iterator_begin(int dimension) nogil
Simplex_tree_skeleton_iterator get_skeleton_iterator_end(int dimension) nogil
# Expansion with blockers
- ctypedef bool (*blocker_func)(vector[int], void *user_data)
- void expansion_with_blockers_callback(int dimension, blocker_func user_func, void *user_data)
+ ctypedef bool (*blocker_func_t)(vector[int], void *user_data)
+ void expansion_with_blockers_callback(int dimension, blocker_func_t user_func, void *user_data)
cdef extern from "Persistent_cohomology_interface.h" namespace "Gudhi":
cdef cppclass Simplex_tree_persistence_interface "Gudhi::Persistent_cohomology_interface<Gudhi::Simplex_tree<Gudhi::Simplex_tree_options_full_featured>>":