ALWAYS_INLINE bool UnserializeJsval( JSContext *cx, SerializedData *ser, jsval *rval ) { jl::Unserializer unserializer(cx, ser->data, ser->length); ser->data = NULL; JL_CHK( unserializer.Read(cx, *rval) ); return true; JL_BAD; }
GGViewProjectUnserializer *GGIOFactory::unserializer(const QString &file) { QFileInfo fi(file); return unserializer(fi.absolutePath(), fi.baseName(), serializationTypeForFile(file)); }