Skip to content

Commit 81f06d6

Browse files
committed
Jostle some section headers in wrap_cl.hpp
1 parent b3b6345 commit 81f06d6

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

src/wrap_cl.hpp

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,8 @@
137137
// }}}
138138

139139

140+
// {{{ macros and typedefs for wrappers
140141

141-
142-
143-
// {{{ tools
144142
#if PY_VERSION_HEX >= 0x02050000
145143
typedef Py_ssize_t PYOPENCL_BUFFER_SIZE_T;
146144
#else
@@ -262,6 +260,7 @@
262260

263261
// }}}
264262

263+
265264
// {{{ tracing and error reporting
266265
#ifdef PYOPENCL_TRACE
267266
#define PYOPENCL_PRINT_CALL_TRACE(NAME) \
@@ -329,6 +328,7 @@
329328

330329
// }}}
331330

331+
332332
// {{{ get_info helpers
333333
#define PYOPENCL_GET_OPAQUE_INFO(WHAT, FIRST_ARG, SECOND_ARG, CL_TYPE, TYPE) \
334334
{ \
@@ -383,6 +383,7 @@
383383

384384
// }}}
385385

386+
386387
// {{{ event helpers --------------------------------------------------------------
387388
#define PYOPENCL_PARSE_WAIT_FOR \
388389
cl_uint num_events_in_wait_list = 0; \
@@ -424,16 +425,18 @@
424425

425426
// }}}
426427

428+
427429
// {{{ equality testing
430+
428431
#define PYOPENCL_EQUALITY_TESTS(cls) \
429432
bool operator==(cls const &other) const \
430433
{ return data() == other.data(); } \
431434
bool operator!=(cls const &other) const \
432435
{ return data() != other.data(); } \
433436
long hash() const \
434437
{ return (long) (intptr_t) data(); }
435-
// }}}
436438

439+
// }}}
437440

438441

439442
namespace pyopencl

0 commit comments

Comments
 (0)