소스 검색

define a poison value to help debugging

Cédric Augonnet 15 년 전
부모
커밋
3bfae32576
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      include/starpu-util.h

+ 2 - 0
include/starpu-util.h

@@ -34,6 +34,8 @@
 extern "C" {
 #endif
 
+#define STARPU_POISON_PTR	((void *)0xdeadbeef)
+
 #define STARPU_MIN(a,b)	((a)<(b)?(a):(b))
 #define STARPU_MAX(a,b)	((a)<(b)?(b):(a))