Author: Devin Jeanpierre <[email protected]>
Branch: cpyext-macros-cast
Changeset: r84340:cbcd8db8ebf5
Date: 2016-05-09 13:01 -0700
http://bitbucket.org/pypy/pypy/changeset/cbcd8db8ebf5/
Log: Remove trailing semicolons on macros (yikes).
diff --git a/pypy/module/cpyext/include/intobject.h
b/pypy/module/cpyext/include/intobject.h
--- a/pypy/module/cpyext/include/intobject.h
+++ b/pypy/module/cpyext/include/intobject.h
@@ -7,7 +7,7 @@
extern "C" {
#endif
-#define PyInt_AS_LONG(obj) _PyInt_AS_LONG((PyObject*)obj);
+#define PyInt_AS_LONG(obj) _PyInt_AS_LONG((PyObject*)obj)
typedef struct {
PyObject_HEAD
diff --git a/pypy/module/cpyext/include/setobject.h
b/pypy/module/cpyext/include/setobject.h
--- a/pypy/module/cpyext/include/setobject.h
+++ b/pypy/module/cpyext/include/setobject.h
@@ -6,7 +6,7 @@
extern "C" {
#endif
-#define PySet_GET_SIZE(obj) _PySet_GET_SIZE((PyObject*)obj);
+#define PySet_GET_SIZE(obj) _PySet_GET_SIZE((PyObject*)obj)
#ifdef __cplusplus
}
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit