Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various improvements. #274

Merged
merged 3 commits into from Jun 27, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -27,7 +27,6 @@ git = "https://github.com/servo/mozjs"
[dependencies]
lazy_static = "0.2.1"
libc = "0.2"
rustc-serialize = "0.3"
log = "0.3"
heapsize = ">=0.2, <0.4"
num-traits = "0.1.32"
@@ -23,7 +23,6 @@ extern crate libc;
extern crate log;
extern crate mozjs_sys;
extern crate num_traits;
extern crate rustc_serialize as serialize;

pub mod jsapi {
use libc::FILE;
@@ -110,3 +109,10 @@ impl<T: Copy + GCMethods<T>> HeapSizeOf for Heap<T> {
}
known_heap_size!(0, JSVal);

impl jsapi::ObjectOpResult {
/// Set this ObjectOpResult to true and return true.
pub fn succeed(&mut self) -> bool {
self.code_ = jsapi::ObjectOpResult_SpecialCodes::OkCode as usize;
true
}
}

This file was deleted.

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.