Revision: 15792
http://sourceforge.net/p/skim-app/code/15792
Author: hofman
Date: 2025-11-11 23:03:21 +0000 (Tue, 11 Nov 2025)
Log Message:
-----------
use NS_ERROR_ENUM, remove unused enum
Modified Paths:
--------------
trunk/NSError_SKExtensions.h
trunk/SKRuntime.m
Modified: trunk/NSError_SKExtensions.h
===================================================================
--- trunk/NSError_SKExtensions.h 2025-11-11 17:43:05 UTC (rev 15791)
+++ trunk/NSError_SKExtensions.h 2025-11-11 23:03:21 UTC (rev 15792)
@@ -42,7 +42,7 @@
extern NSErrorDomain const SKDocumentErrorDomain;
-enum {
+NS_ERROR_ENUM(SKDocumentErrorDomain) {
SKWriteFileError = 1,
SKReadFileError = 2,
SKReadPasteboardError = 3,
Modified: trunk/SKRuntime.m
===================================================================
--- trunk/SKRuntime.m 2025-11-11 17:43:05 UTC (rev 15791)
+++ trunk/SKRuntime.m 2025-11-11 23:03:21 UTC (rev 15792)
@@ -39,8 +39,6 @@
#import "SKRuntime.h"
#import <objc/objc-runtime.h>
-enum { SKAddOrReplace, SKReplaceOnly, SKAddOnly };
-
// this is essentially class_replaceMethod, but returns any inherited
implementation, and can get the types from an inherited implementation
IMP SKReplaceInstanceMethodImplementation(Class aClass, SEL aSelector, IMP
anImp) {
IMP imp = NULL;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit