Skip to content
Snippets Groups Projects
Commit 8f7861c3 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Define the archive property description list for JSDOCS build.

parent 3b52426b
No related branches found
No related tags found
1 merge request!123New file base
Pipeline #1795 passed
...@@ -569,6 +569,14 @@ static jsSyncMethodSpec js_archive_functions[] = { ...@@ -569,6 +569,14 @@ static jsSyncMethodSpec js_archive_functions[] = {
{0} {0}
}; };
#ifdef BUILD_JSDOCS
static char* archive_prop_desc[] = {
"format/compression type of archive file - <small>READ ONLY</small>"
,NULL
};
#endif
static JSBool static JSBool
js_archive_constructor(JSContext *cx, uintN argc, jsval *arglist) js_archive_constructor(JSContext *cx, uintN argc, jsval *arglist)
{ {
...@@ -601,7 +609,7 @@ js_archive_constructor(JSContext *cx, uintN argc, jsval *arglist) ...@@ -601,7 +609,7 @@ js_archive_constructor(JSContext *cx, uintN argc, jsval *arglist)
,31900 ,31900
); );
js_DescribeSyncConstructor(cx,obj,"To create a new Archive object: <tt>var a = new Archive(<i>filename</i>)</tt>"); js_DescribeSyncConstructor(cx,obj,"To create a new Archive object: <tt>var a = new Archive(<i>filename</i>)</tt>");
js_CreateArrayOfStrings(cx, obj, "_property_desc_list", file_prop_desc, JSPROP_READONLY); js_CreateArrayOfStrings(cx, obj, "_property_desc_list", archive_prop_desc, JSPROP_READONLY);
#endif #endif
return JS_TRUE; return JS_TRUE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment