Permalink
Browse files

Remove inline declarations; Xcode 4.3 does some strange stuff when in…

…lining.
  • Loading branch information...
1 parent 708daeb commit bb64e541d690052e20d7bb6ee081e21961e72e1f @dizzyd dizzyd committed Mar 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 c_src/spidermonkey.c
@@ -44,12 +44,12 @@ char *copy_jsstring(JSString *source) {
return copy_string(buf);
}
-inline void begin_request(spidermonkey_vm *vm) {
+void begin_request(spidermonkey_vm *vm) {
JS_SetContextThread(vm->context);
JS_BeginRequest(vm->context);
}
-inline void end_request(spidermonkey_vm *vm) {
+void end_request(spidermonkey_vm *vm) {
JS_EndRequest(vm->context);
JS_ClearContextThread(vm->context);
}

0 comments on commit bb64e54

Please sign in to comment.