mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
Bug 530018 - js_DecompileToString Undefined symbol. r=jim
This commit is contained in:
parent
fe9c904589
commit
7d3bee1630
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user