]> git.saurik.com Git - cycript.git/blobdiff - Driver.cpp
Instance's toPointer() should return as CFTypeRef.
[cycript.git] / Driver.cpp
index 83b9462f9199e65d1689a3bc18b99c0fb9c45b75..0bdd62d1ff0aa71de877623a058ab96ff7a092d2 100644 (file)
@@ -1,5 +1,5 @@
-/* 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 {{{ */
 
 bool CYParser(CYPool &pool, bool debug);
 
-CYDriver::CYDriver(CYPool &pool, std::istream &data, const std::string &filename) :
+CYDriver::CYDriver(CYPool &pool, std::streambuf &data, const std::string &filename) :
     pool_(pool),
     newline_(false),
     last_(false),
-    next_(false),
     data_(data),
     debug_(0),
     strict_(false),