pkgsrc/www/firefox38/patches/patch-js_public_CallArgs.h
ryoon 9cd6a39c3e Import firefox38-38.1.0 as www/firefox38.
Mozilla Firefox is a free, open-source and cross-platform web browser
for Windows, Linux, MacOS X and many other operating systems.

It is fast and easy to use, and offers many advantages over other web
browsers, such as tabbed browsing and the ability to block pop-up
windows.

Firefox also offers excellent bookmark and history management, and it
can be extended by developers using industry standards such as XML,
CSS, JavaScript, C++, etc. Many extensions are available.

This package tracks 38 ESR.
2015-07-09 14:13:51 +00:00

13 lines
556 B
C

$NetBSD: patch-js_public_CallArgs.h,v 1.1 2015/07/09 14:13:52 ryoon Exp $
--- js/public/CallArgs.h.orig 2015-04-29 21:11:43.000000000 +0000
+++ js/public/CallArgs.h
@@ -344,7 +344,7 @@ class MOZ_STACK_CLASS CallArgs : public
* Returns true if there are at least |required| arguments passed in. If
* false, it reports an error message on the context.
*/
- bool requireAtLeast(JSContext* cx, const char* fnname, unsigned required);
+ JS_PUBLIC_API(bool) requireAtLeast(JSContext* cx, const char* fnname, unsigned required);
};