From b65adb1b19c821886313beb6979e825a9f44d4ad Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Tue, 21 Jun 2016 12:14:54 -0700 Subject: [PATCH] factor: rename framework: and import: to uppercase --- demos/webkit-demo/webkit-demo.factor | 4 +-- ffi/qtkit/qtkit.factor | 48 ++++++++++++++-------------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/demos/webkit-demo/webkit-demo.factor b/demos/webkit-demo/webkit-demo.factor index 76bbb90a4f..3a672f623e 100644 --- a/demos/webkit-demo/webkit-demo.factor +++ b/demos/webkit-demo/webkit-demo.factor @@ -4,8 +4,8 @@ USING: cocoa cocoa.application cocoa.types cocoa.classes cocoa.windows core-graphics.types kernel math.bitwise literals ; IN: webkit-demo -framework: /System/Library/Frameworks/WebKit.framework -import: WebView +FRAMEWORK: /System/Library/Frameworks/WebKit.framework +IMPORT: WebView : rect ( -- rect ) 0 0 700 500 ; diff --git a/ffi/qtkit/qtkit.factor b/ffi/qtkit/qtkit.factor index 220a86cb40..ec15cc666f 100644 --- a/ffi/qtkit/qtkit.factor +++ b/ffi/qtkit/qtkit.factor @@ -50,31 +50,31 @@ CONSTANT: QTErrorDeviceNotConnected 1300 ; CONSTANT: QTErrorDeviceInUseByAnotherApplication 1301 ; CONSTANT: QTErrorDeviceExcludedByAnotherDevice 1302 ; -framework: /System/Library/Frameworks/QTKit.framework +FRAMEWORK: /System/Library/Frameworks/QTKit.framework -import: QTCaptureAudioPreviewOutput -import: QTCaptureConnection -import: QTCaptureDecompressedAudioOutput -import: QTCaptureDecompressedVideoOutput -import: QTCaptureDevice -import: QTCaptureDeviceInput -import: QTCaptureFileOutput -import: QTCaptureInput -import: QTCaptureLayer -import: QTCaptureMovieFileOutput -import: QTCaptureOutput -import: QTCaptureSession -import: QTCaptureVideoPreviewOutput -import: QTCaptureView -import: QTCompressionOptions -import: QTDataReference -import: QTFormatDescription -import: QTMedia -import: QTMovie -import: QTMovieLayer -import: QTMovieView -import: QTSampleBuffer -import: QTTrack +IMPORT: QTCaptureAudioPreviewOutput +IMPORT: QTCaptureConnection +IMPORT: QTCaptureDecompressedAudioOutput +IMPORT: QTCaptureDecompressedVideoOutput +IMPORT: QTCaptureDevice +IMPORT: QTCaptureDeviceInput +IMPORT: QTCaptureFileOutput +IMPORT: QTCaptureInput +IMPORT: QTCaptureLayer +IMPORT: QTCaptureMovieFileOutput +IMPORT: QTCaptureOutput +IMPORT: QTCaptureSession +IMPORT: QTCaptureVideoPreviewOutput +IMPORT: QTCaptureView +IMPORT: QTCompressionOptions +IMPORT: QTDataReference +IMPORT: QTFormatDescription +IMPORT: QTMedia +IMPORT: QTMovie +IMPORT: QTMovieLayer +IMPORT: QTMovieView +IMPORT: QTSampleBuffer +IMPORT: QTTrack : ( filename -- movie ) QTMovie swap f -> movieWithFile:error: -> retain ;