mej pushed a commit to branch master.
commit 12630faaa6b4be2f920ade11554a0ae5f71d1acc
Author: Michael Jennings <[email protected]>
Date: Wed Mar 6 11:17:29 2013 -0800
A preview of what's to come.
---
include/libast.h | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/include/libast.h b/include/libast.h
index 7865944..b311d0a 100644
--- a/include/libast.h
+++ b/include/libast.h
@@ -1260,6 +1260,17 @@ extern int re_exec();
# endif
# define STRDUP(s) spifmem_strdup(#s, __FILE__,
__LINE__, (s))
# define MALLOC_DUMP() spifmem_dump_mem_tables()
+
+/* X11 Wrappers */
+# if 0 && defined(LIBAST_SUPPORT_MACRO_CSE)
+# define X_CREATE_PIXMAP(d, win, w, h, depth) ({ \
+ Pixmap p = XCreatePixmap((d), (win), (w), (h), (depth)); \
+ D_MEM(("Created %ux%u pixmap 0x%08x of depth %u for window 0x%08x at
%s:%lu\n", (w), (h), p, (depth), (win), __FILE__, __LINE__)); \
+ if (p == None) return p; \
+ memrec_add_var(&pixmap_rec, (spif_charptr_t) NONULL(filename), line,
(void *) p, w * h * (depth / 8)); \
+ p; \
+ })
+# endif
# define X_CREATE_PIXMAP(d, win, w, h, depth)
spifmem_x_create_pixmap(__FILE__, __LINE__, (d), (win), (w), (h), (depth))
# define X_FREE_PIXMAP(d, p) spifmem_x_free_pixmap(#p,
__FILE__, __LINE__, (d), (p))
# if LIBAST_IMLIB2_SUPPORT
--
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev