Cappuccino
1.0.0
All
Classes
Files
Functions
Variables
Typedefs
Macros
Groups
Pages
CPObjJRuntime.j
Go to the documentation of this file.
1
/*
2
* CPObjJRuntime.j
3
* Foundation
4
*
5
* Created by Francisco Tolmasky.
6
* Copyright 2008, 280 North, Inc.
7
*
8
* This library is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Lesser General Public
10
* License as published by the Free Software Foundation; either
11
* version 2.1 of the License, or (at your option) any later version.
12
*
13
* This library is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* Lesser General Public License for more details.
17
*
18
* You should have received a copy of the GNU Lesser General Public
19
* License along with this library; if not, write to the Free Software
20
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21
*/
22
23
function
CPStringFromSelector
(aSelector)
24
{
25
return
sel_getName(aSelector);
26
}
27
28
function
CPSelectorFromString
(aSelectorName)
29
{
30
return
sel_registerName(aSelectorName);
31
}
32
33
function
CPClassFromString
(aClassName)
34
{
35
return
objj_getClass(aClassName);
36
}
37
38
function
CPStringFromClass
(aClass)
39
{
40
return
class_getName(aClass);
41
}
42
48
CPOrderedAscending
= -1;
54
CPOrderedSame
= 0;
60
CPOrderedDescending
= 1;
61
62
CPNotFound
= -1;
Foundation
CPObjJRuntime.j
Generated on Fri Sep 7 2018 11:26:15 for Cappuccino by
1.8.3