Skip to content

Commit 0557755

Browse files
committed
[Code] Minor naming fixes
1 parent e97f951 commit 0557755

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

cubool/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ set(CUBOOL_C_API_SOURCES
4040
sources/cuBool_Matrix_Build.cpp
4141
sources/cuBool_Matrix_SetElement.cpp
4242
sources/cuBool_Matrix_SetMarker.cpp
43-
sources/cuBool_Matrix_GetMarker.cpp
43+
sources/cuBool_Matrix_Marker.cpp
4444
sources/cuBool_Matrix_ExtractPairs.cpp
4545
sources/cuBool_Matrix_ExtractSubMatrix.cpp
4646
sources/cuBool_Matrix_Duplicate.cpp

cubool/include/cubool/cubool.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ CUBOOL_EXPORT CUBOOL_API cuBool_Status cuBool_Matrix_SetMarker(
290290
*
291291
* @return Error code on this operation
292292
*/
293-
CUBOOL_EXPORT CUBOOL_API cuBool_Status cuBool_Matrix_GetMarker(
293+
CUBOOL_EXPORT CUBOOL_API cuBool_Status cuBool_Matrix_Marker(
294294
cuBool_Matrix matrix,
295295
char* marker,
296296
cuBool_Index* size

cubool/sources/cuBool_Matrix_GetMarker.cpp renamed to cubool/sources/cuBool_Matrix_Marker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#include <cuBool_Common.hpp>
2626
#include <cstring>
2727

28-
cuBool_Status cuBool_Matrix_GetMarker(
28+
cuBool_Status cuBool_Matrix_Marker(
2929
cuBool_Matrix matrix,
3030
char* marker,
3131
cuBool_Index* size

python/pycubool/bridge.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ def load_and_configure(cubool_lib_path: str):
114114
ctypes.POINTER(ctypes.c_char)
115115
]
116116

117-
lib.cuBool_Matrix_GetMarker.restype = status_t
118-
lib.cuBool_Matrix_GetMarker.argtypes = [
117+
lib.cuBool_Matrix_Marker.restype = status_t
118+
lib.cuBool_Matrix_Marker.argtypes = [
119119
matrix_p,
120120
ctypes.POINTER(ctypes.c_char),
121121
ctypes.POINTER(ctypes.c_uint)

python/pycubool/matrix.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,14 +220,14 @@ def marker(self):
220220
"""
221221

222222
size = ctypes.c_uint(0)
223-
status = wrapper.loaded_dll.cuBool_Matrix_GetMarker(
223+
status = wrapper.loaded_dll.cuBool_Matrix_Marker(
224224
self.hnd, ctypes.POINTER(ctypes.c_char)(), ctypes.byref(size)
225225
)
226226

227227
bridge.check(status)
228228

229229
c_buffer = (ctypes.c_char * int(size.value))()
230-
status = wrapper.loaded_dll.cuBool_Matrix_GetMarker(
230+
status = wrapper.loaded_dll.cuBool_Matrix_Marker(
231231
self.hnd, c_buffer, ctypes.byref(size)
232232
)
233233

0 commit comments

Comments
 (0)