-/* Cycript - Optimizing JavaScript Compiler/Runtime
- * Copyright (C) 2009-2015 Jay Freeman (saurik)
+/* Cycript - The Truly Universal Scripting Language
+ * Copyright (C) 2009-2016 Jay Freeman (saurik)
*/
/* GNU Affero General Public License, Version 3 {{{ */
#include "../Internal.hpp"
struct Selector_privateData :
- CYValue_<Selector_privateData, SEL>
+ CYValue<Selector_privateData, SEL>
{
_finline Selector_privateData(SEL value) :
- CYValue_(value)
+ CYValue(value)
{
}
};
struct Instance :
- CYValue_<Instance, id>
+ CYValue<Instance, id>
{
enum Flags {
None = 0,
namespace cy {
struct Super :
- CYValue_<Super, id>
+ CYValue<Super, id>
{
Class class_;
_finline Super(id value, Class _class) :
- CYValue_(value),
+ CYValue(value),
class_(_class)
{
}
}; }
struct Messages :
- CYValue_<Messages, Class>
+ CYValue<Messages, Class>
{
_finline Messages(Class value) :
- CYValue_(value)
+ CYValue(value)
{
}
JSValueRef GetPrototype(JSContextRef context) const;
};
-struct Internal :
- CYValue_<Internal, id>
+struct Interior :
+ CYValue<Interior, id>
{
CYProtect owner_;
- _finline Internal(id value, JSContextRef context, JSObjectRef owner) :
- CYValue_(value),
+ _finline Interior(id value, JSContextRef context, JSObjectRef owner) :
+ CYValue(value),
owner_(context, owner)
{
}