From 357214d9ae7718efe894e316ab55b0a0e89d5960 Mon Sep 17 00:00:00 2001 From: "brendan%mozilla.org" Date: Tue, 29 Mar 2005 16:55:43 +0000 Subject: [PATCH] Make js_GetScriptLineExtent JS_FRIEND_API for the js shell's sake. --- js/src/jsscript.c | 2 +- js/src/jsscript.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/jsscript.c b/js/src/jsscript.c index ef387dd00c05..a7ea46b0b746 100644 --- a/js/src/jsscript.c +++ b/js/src/jsscript.c @@ -1278,7 +1278,7 @@ out: return script->code + offset; } -uintN +JS_FRIEND_API(uintN) js_GetScriptLineExtent(JSScript *script) { uintN lineno; diff --git a/js/src/jsscript.h b/js/src/jsscript.h index 9e5e15276972..7c30b0408bdf 100644 --- a/js/src/jsscript.h +++ b/js/src/jsscript.h @@ -162,7 +162,7 @@ js_PCToLineNumber(JSContext *cx, JSScript *script, jsbytecode *pc); extern jsbytecode * js_LineNumberToPC(JSScript *script, uintN lineno); -extern uintN +extern JS_FRIEND_API(uintN) js_GetScriptLineExtent(JSScript *script); /*