Skip to content

Commit

Permalink
fix cython build warnings: don't redefine C types
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Apr 6, 2021
1 parent ccf5869 commit 829b9ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xpra/x11/bindings/core_bindings.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ cdef extern from "X11/Xutil.h":
pass

cdef extern from "X11/Xmd.h":
ctypedef unsigned long CARD32
pass


######
# Xlib primitives and constants
Expand All @@ -39,7 +40,6 @@ cdef extern from "X11/Xlib.h":
ctypedef CARD32 Time
ctypedef int Bool
ctypedef int Status
ctypedef CARD32 Atom

Atom XInternAtom(Display * display, char * atom_name, Bool only_if_exists)
Status XInternAtoms(Display *display, char **names, int count, Bool only_if_exists, Atom *atoms_return)
Expand Down

0 comments on commit 829b9ea

Please sign in to comment.