Bug 530018 - js_DecompileToString Undefined symbol. r=jim

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

View File

@ -4921,7 +4921,7 @@ js_DecompileScript(JSPrinter *jp, JSScript *script)
JSString *
js_DecompileToString(JSContext *cx, const char *name, JSFunction *fun,
uintN indent, JSBool pretty, JSBool grouped, JSBool strict,
JSBool (*decompiler)(JSPrinter *jp))
JSDecompilerPtr decompiler)
{
JSPrinter *jp;
JSString *str;

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