Commit 9b064de8 authored by Greg Ward's avatar Greg Ward

Added 'debug_print()'.

parent 84e79712
......@@ -783,6 +783,11 @@ class CCompiler:
if self.verbose >= level:
print msg
def debug_print (self, msg):
from distutils.core import DEBUG
if DEBUG:
print msg
def warn (self, msg):
sys.stderr.write ("warning: %s\n" % msg)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment