Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix Python 2 INT_ASLONG function.
  • Loading branch information
monnerat authored and vkareh committed Jan 30, 2019
1 parent 7c4ff1a commit d349766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/caja-python-object.c
Expand Up @@ -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)
#endif

/* These macros assumes the following things:
Expand Down

0 comments on commit d349766

Please sign in to comment.