File: 04_Use-anonymous-cdef-enum-in-style.pxd-Fixes-119.patch

package info (click to toggle)
python-sfml 2.2~git20150611.196c88%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,816 kB
  • ctags: 1,605
  • sloc: python: 1,125; cpp: 309; makefile: 118
file content (27 lines) | stat: -rw-r--r-- 769 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From d8a0b9959f990324e744d2d101cd3e44773b5090 Mon Sep 17 00:00:00 2001
From: James Cowgill <james410@cowgill.org.uk>
Date: Thu, 24 Sep 2015 14:23:07 +0100
Subject: [PATCH] Use anonymous cdef enum in style.pxd (Fixes: #119)

[jcowgill: backported to version in Debian]

---
 include/libcpp/style.pxd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/libcpp/style.pxd b/include/libcpp/style.pxd
index 73d9e43..2ad4ce7 100644
--- a/include/libcpp/style.pxd
+++ b/include/libcpp/style.pxd
@@ -23,7 +23,7 @@
 #-------------------------------------------------------------------------------
 
 cdef extern from "SFML/Window.hpp" namespace "sf::Style":
-    cdef enum Style:
+    cdef enum:
         None
         Titlebar
         Resize
-- 
2.5.3