~darkxst/ubuntu/raring/cogl/lp1163025

« back to all changes in this revision

Viewing changes to cogl/cogl-debug.h

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2012-03-13 19:11:11 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20120313191111-3hgk529qkh9m6uk2
Tags: 1.9.8-0ubuntu1
* New upstream release (LP: #941617)
* Updated symbols & library name for soname update
* debian/control.in: Bump minimum glib to 2.28
* debian/patches/02_disable_armv5t_specific_optimization.patch: Disabled

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
#include "cogl-profile.h"
28
28
#include "cogl-flags.h"
 
29
#include "cogl-util.h"
29
30
 
30
31
#include <glib.h>
31
32
 
72
73
 
73
74
#ifdef COGL_ENABLE_DEBUG
74
75
 
75
 
#define COGL_DEBUG_N_INTS COGL_FLAGS_N_INTS_FOR_SIZE (COGL_DEBUG_N_FLAGS)
76
 
 
77
 
extern unsigned int _cogl_debug_flags[COGL_DEBUG_N_INTS];
 
76
#define COGL_DEBUG_N_LONGS COGL_FLAGS_N_LONGS_FOR_SIZE (COGL_DEBUG_N_FLAGS)
 
77
 
 
78
/* _cogl_debug_flags currently needs to exported outside of the shared
 
79
   library for cogl-pango. The special COGL_EXPORT macro is needed to
 
80
   get this to work when building with MSVC */
 
81
COGL_EXPORT extern unsigned long _cogl_debug_flags[COGL_DEBUG_N_LONGS];
 
82
 
78
83
extern GHashTable *_cogl_debug_instances;
79
84
 
80
85
#define COGL_DEBUG_ENABLED(flag) \