Skip to content
Browse files

Fix Python 2 INT_ASLONG function.

  • Loading branch information...
monnerat authored and vkareh committed Jan 24, 2019
1 parent 7c4ff1a commit d3497665306dc69aad63b72d7c4ca1d8d17ea3bd
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/caja-python-object.c
@@ -55,7 +55,7 @@ static GObjectClass *parent_class;
#define STRING_FROMSTRING(str) PyString_FromString(str)
#define STRING_ASSTRING(obj) PyString_AsString(obj)
#define INT_CHECK(obj) PyInt_Check(obj)
#define INT_ASLONG(obj) PyInt(obj)
#define INT_ASLONG(obj) PyInt_AsLong(obj)

/* These macros assumes the following things:

0 comments on commit d349766

Please sign in to comment.
You can’t perform that action at this time.