Revision: 7248
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7248&view=rev
Author:   hofman
Date:     2011-05-18 17:09:42 +0000 (Wed, 18 May 2011)

Log Message:
-----------
rename function for consistency

Modified Paths:
--------------
    trunk/SKRuntime.h
    trunk/SKRuntime.m

Modified: trunk/SKRuntime.h
===================================================================
--- trunk/SKRuntime.h   2011-05-18 12:43:15 UTC (rev 7247)
+++ trunk/SKRuntime.h   2011-05-18 17:09:42 UTC (rev 7248)
@@ -42,7 +42,7 @@
 enum { SKAddOrReplace, SKReplaceOnly, SKAddOnly };
 
 extern IMP SKSetInstanceMethodImplementation(Class aClass, SEL aSelector, IMP 
anImp, const char *types, NSInteger options);
-extern IMP SKSetMethodImplementationFromSelector(Class aClass, SEL aSelector, 
SEL impSelector, NSInteger options);
+extern IMP SKSetInstanceMethodImplementationFromSelector(Class aClass, SEL 
aSelector, SEL impSelector, NSInteger options);
 
 extern IMP SKReplaceInstanceMethodImplementation(Class aClass, SEL aSelector, 
IMP anImp);
 extern void SKAddInstanceMethodImplementation(Class aClass, SEL aSelector, IMP 
anImp, const char *types);

Modified: trunk/SKRuntime.m
===================================================================
--- trunk/SKRuntime.m   2011-05-18 12:43:15 UTC (rev 7247)
+++ trunk/SKRuntime.m   2011-05-18 17:09:42 UTC (rev 7248)
@@ -56,7 +56,7 @@
     return imp;
 }
 
-IMP SKSetMethodImplementationFromSelector(Class aClass, SEL aSelector, SEL 
impSelector, NSInteger options) {
+IMP SKSetInstanceMethodImplementationFromSelector(Class aClass, SEL aSelector, 
SEL impSelector, NSInteger options) {
     Method method = class_getInstanceMethod(aClass, impSelector);
     return method ? SKSetInstanceMethodImplementation(aClass, aSelector, 
method_getImplementation(method), method_getTypeEncoding(method), options) : 
NULL;
 }
@@ -70,9 +70,9 @@
 }
 
 IMP SKReplaceInstanceMethodImplementationFromSelector(Class aClass, SEL 
aSelector, SEL impSelector) {
-    return SKSetMethodImplementationFromSelector(aClass, aSelector, 
impSelector, SKReplaceOnly);
+    return SKSetInstanceMethodImplementationFromSelector(aClass, aSelector, 
impSelector, SKReplaceOnly);
 }
 
 void SKAddInstanceMethodImplementationFromSelector(Class aClass, SEL 
aSelector, SEL impSelector) {
-    SKSetMethodImplementationFromSelector(aClass, aSelector, impSelector, 
SKAddOnly);
+    SKSetInstanceMethodImplementationFromSelector(aClass, aSelector, 
impSelector, SKAddOnly);
 }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to