X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/f95d2598051e347460e028286ff2d33e5825e548..bd5734cc00d2257272e8f7702f9e9b6f64858907:/ObjectiveC/Internal.hpp diff --git a/ObjectiveC/Internal.hpp b/ObjectiveC/Internal.hpp index 1ac20e2..9cffb48 100644 --- a/ObjectiveC/Internal.hpp +++ b/ObjectiveC/Internal.hpp @@ -1,5 +1,5 @@ /* Cycript - Optimizing JavaScript Compiler/Runtime - * Copyright (C) 2009-2014 Jay Freeman (saurik) + * Copyright (C) 2009-2015 Jay Freeman (saurik) */ /* GNU Affero General Public License, Version 3 {{{ */ @@ -22,9 +22,10 @@ #ifndef CYCRIPT_OBJECTIVEC_INTERNAL_HPP #define CYCRIPT_OBJECTIVEC_INTERNAL_HPP -#include <Internal.hpp> #include <objc/objc.h> +#include "../Internal.hpp" + struct Selector_privateData : CYValue { @@ -45,7 +46,7 @@ struct Instance : { enum Flags { None = 0, - Transient = (1 << 0), + Permanent = (1 << 0), Uninitialized = (1 << 1), }; @@ -79,7 +80,7 @@ struct Super : Class class_; _finline Super(id value, Class _class) : - Instance(value, Instance::Transient), + Instance(value, Instance::Permanent), class_(_class) { }