[Commits] SDL: iOS: Replaced #import with #include in two demos.

libsdl.org revision control commits-owner at libsdl.org
Sun Mar 27 13:31:47 PDT 2016


details:   https://hg.libsdl.org/SDL/rev/21cbbf2beb93
changeset: 10126:21cbbf2beb93
user:      Philipp Wiesemann <philipp.wiesemann at arcor.de>
date:      Sun Mar 27 22:26:34 2016 +0200
description:
iOS: Replaced #import with #include in two demos.

This extension to C is not required here and made the demos less portable.

diffstat:

 Xcode-iOS/Demos/src/keyboard.c |  4 ++--
 Xcode-iOS/Demos/src/mixer.c    |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r d56e06ce0858 -r 21cbbf2beb93 Xcode-iOS/Demos/src/keyboard.c
--- a/Xcode-iOS/Demos/src/keyboard.c	Sun Mar 27 22:25:13 2016 +0200
+++ b/Xcode-iOS/Demos/src/keyboard.c	Sun Mar 27 22:26:34 2016 +0200
@@ -4,8 +4,8 @@
  *  use however you want
  */
 
-#import "SDL.h"
-#import "common.h"
+#include "SDL.h"
+#include "common.h"
 
 #define GLYPH_SIZE_IMAGE 16     /* size of glyphs (characters) in the bitmap font file */
 #define GLYPH_SIZE_SCREEN 32    /* size of glyphs (characters) as shown on the screen */
diff -r d56e06ce0858 -r 21cbbf2beb93 Xcode-iOS/Demos/src/mixer.c
--- a/Xcode-iOS/Demos/src/mixer.c	Sun Mar 27 22:25:13 2016 +0200
+++ b/Xcode-iOS/Demos/src/mixer.c	Sun Mar 27 22:26:34 2016 +0200
@@ -4,8 +4,8 @@
  *  use however you want
  */
 
-#import "SDL.h"
-#import "common.h"
+#include "SDL.h"
+#include "common.h"
 
 #define NUM_CHANNELS 8          /* max number of sounds we can play at once */
 #define NUM_DRUMS 4             /* number of drums in our set */


More information about the commits mailing list