On Sun, 29 Apr 2001, Christoph Egger wrote:

> 
> Hi!
> 
> 
> Is there a way to ask libggi, how often an extension is attached to
> it?

I guess, there is a way now. See the attachment. :)


CU,

Christoph Egger
E-Mail: [EMAIL PROTECTED]
--- libggi/include/ggi/internal/internal.h.orig Sun Apr 29 10:39:29 2001
+++ libggi/include/ggi/internal/internal.h      Sun Apr 29 10:40:33 2001
@@ -137,6 +137,7 @@
 */
 
 #define LIBGGI_EXT(vis,extid)  ((vis)->extlist[(extid)].priv)
+#define LIBGGI_EXTAC(vis,extid)        ((vis)->extlist[(extid)].attachcount)
 
 #define LIBGGI_FLAGS(vis)      ((vis)->flags)
 #define LIBGGI_FD(vis)         ((vis)->fd)

Reply via email to