From 9746ad1ab3ad6ec13b977043e72316079b0d14be Mon Sep 17 00:00:00 2001 From: Amy Bowersox Date: Tue, 10 Dec 2019 13:13:56 -0700 Subject: [PATCH] disco debugging, yay! --- src/ep_devctxt.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ep_devctxt.c b/src/ep_devctxt.c index ae05cdc..63250fa 100755 --- a/src/ep_devctxt.c +++ b/src/ep_devctxt.c @@ -3,6 +3,7 @@ #include #include "wintype.h" #include "scode.h" +#include "log.h" #include "devctxt.h" #include "dc_screen.h" #include "ep_init.h" @@ -206,10 +207,13 @@ static int devctxt_init(DevCtxtObject *self, PyObject *args, PyObject *kwds) static char *kwlist[] = { "type" }; char *type; + Log(LDEBUG, "Creating a new DevCtxt object"); if (!PyArg_ParseTupleAndKeywords(args, kwds, "|s", kwlist, &type)) return -1; + Log(LDEBUG,"type argument is '%s'", type); if (strcmp(type, "screen") == 0) { + Log(LDEBUG, "doing what we expect on screen context"); self->pdctxt = DC_CreateScreenContext(); if (!(self->pdctxt)) {