Bug 530018 - js_DecompileToString Undefined symbol. r=jim

This commit is contained in:
Leon Sha
2009-11-27 09:22:24 +08:00
parent 7f07abe52b
commit 2b56e682b5
2 changed files with 4 additions and 2 deletions

View File

@@ -424,10 +424,12 @@ js_DecompileFunctionBody(JSPrinter *jp);
extern JSBool
js_DecompileFunction(JSPrinter *jp);
typedef JSBool (* JSDecompilerPtr)(JSPrinter *);
extern JSString *
js_DecompileToString(JSContext *cx, const char *name, JSFunction *fun,
uintN indent, JSBool pretty, JSBool grouped, JSBool strict,
JSBool (*decompiler)(JSPrinter *jp));
JSDecompilerPtr decompiler);
/*
* Find the source expression that resulted in v, and return a newly allocated