Commit 6080a7ef authored by Alberto Garcia's avatar Alberto Garcia
Browse files

New upstream version 2.21.2

parent 63ecc1ee

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.
......@@ -60,8 +60,8 @@ if (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang" OR ${CMAKE_CXX_COMPILER_ID} STREQU
endif ()
if (${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU")
if (${CMAKE_CXX_COMPILER_VERSION} VERSION_LESS "5.0.0")
message(FATAL_ERROR "GCC 5.0.0 is required to build WebKitGTK+, use a newer GCC version or clang")
if (${CMAKE_CXX_COMPILER_VERSION} VERSION_LESS "6.0.0")
message(FATAL_ERROR "GCC 6.0.0 is required to build WebKitGTK+, use a newer GCC version or clang")
endif ()
endif ()
......
This diff is collapsed.
This diff is collapsed.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSCException: JavaScriptCore GLib Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="JavaScriptCore GLib Reference Manual">
<link rel="up" href="ch01.html" title="Class Overview">
<link rel="prev" href="JSCWeakValue.html" title="JSCWeakValue">
<link rel="next" href="JSCClass.html" title="JSCClass">
<meta name="generator" content="GTK-Doc V1.27.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#JSCException.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
<a href="#JSCException.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="JSCWeakValue.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="JSCClass.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="JSCException"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="JSCException.top_of_page"></a>JSCException</span></h2>
<p>JSCException — JavaScript exception</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="JSCException.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="JSCException.html" title="JSCException"><span class="returnvalue">JSCException</span></a> *
</td>
<td class="function_name">
<a class="link" href="JSCException.html#jsc-exception-new" title="jsc_exception_new ()">jsc_exception_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="JSCException.html#jsc-exception-get-message" title="jsc_exception_get_message ()">jsc_exception_get_message</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
</td>
<td class="function_name">
<a class="link" href="JSCException.html#jsc-exception-get-line-number" title="jsc_exception_get_line_number ()">jsc_exception_get_line_number</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="JSCException.html#jsc-exception-get-source-uri" title="jsc_exception_get_source_uri ()">jsc_exception_get_source_uri</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="JSCException.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody><tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="JSCException.html#JSCException-struct" title="struct JSCException">JSCException</a></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="JSCException.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen"> <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
<span class="lineart">╰──</span> JSCException
</pre>
</div>
<div class="refsect1">
<a name="JSCException.description"></a><h2>Description</h2>
<p>JSCException represents a JavaScript exception.</p>
</div>
<div class="refsect1">
<a name="JSCException.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="jsc-exception-new"></a><h3>jsc_exception_new ()</h3>
<pre class="programlisting"><a class="link" href="JSCException.html" title="JSCException"><span class="returnvalue">JSCException</span></a> *
jsc_exception_new (<em class="parameter"><code><a class="link" href="JSCContext.html" title="JSCContext"><span class="type">JSCContext</span></a> *context</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *message</code></em>);</pre>
<p>Create a new <a class="link" href="JSCException.html" title="JSCException"><span class="type">JSCException</span></a> in <em class="parameter"><code>context</code></em>
with <em class="parameter"><code>message</code></em>
.</p>
<div class="refsect3">
<a name="jsc-exception-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="JSCContext.html" title="JSCContext"><span class="type">JSCContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>message</p></td>
<td class="parameter_description"><p>the error message</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="jsc-exception-new.returns"></a><h4>Returns</h4>
<p>a new JSCException. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="jsc-exception-get-message"></a><h3>jsc_exception_get_message ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
jsc_exception_get_message (<em class="parameter"><code><a class="link" href="JSCException.html" title="JSCException"><span class="type">JSCException</span></a> *exception</code></em>);</pre>
<p>Get the error message of <em class="parameter"><code>exception</code></em>
.</p>
<div class="refsect3">
<a name="jsc-exception-get-message.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>exception</p></td>
<td class="parameter_description"><p>a <a class="link" href="JSCException.html" title="JSCException"><span class="type">JSCException</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="jsc-exception-get-message.returns"></a><h4>Returns</h4>
<p> the <em class="parameter"><code>exception</code></em>
error message.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="jsc-exception-get-line-number"></a><h3>jsc_exception_get_line_number ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
jsc_exception_get_line_number (<em class="parameter"><code><a class="link" href="JSCException.html" title="JSCException"><span class="type">JSCException</span></a> *exception</code></em>);</pre>
<p>Get the line number at which <em class="parameter"><code>exception</code></em>
happened.</p>
<div class="refsect3">
<a name="jsc-exception-get-line-number.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>exception</p></td>
<td class="parameter_description"><p>a <a class="link" href="JSCException.html" title="JSCException"><span class="type">JSCException</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="jsc-exception-get-line-number.returns"></a><h4>Returns</h4>
<p> the line number of <em class="parameter"><code>exception</code></em>
.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="jsc-exception-get-source-uri"></a><h3>jsc_exception_get_source_uri ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
jsc_exception_get_source_uri (<em class="parameter"><code><a class="link" href="JSCException.html" title="JSCException"><span class="type">JSCException</span></a> *exception</code></em>);</pre>
<p>Get the source URI of <em class="parameter"><code>exception</code></em>
.</p>
<div class="refsect3">
<a name="jsc-exception-get-source-uri.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>exception</p></td>
<td class="parameter_description"><p>a <a class="link" href="JSCException.html" title="JSCException"><span class="type">JSCException</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="jsc-exception-get-source-uri.returns"></a><h4>Returns</h4>
<p>the the source URI of <em class="parameter"><code>exception</code></em>
, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
</div>
</div>
</div>
<div class="refsect1">
<a name="JSCException.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="JSCException-struct"></a><h3>struct JSCException</h3>
<pre class="programlisting">struct JSCException;</pre>
</div>
</div>
<div class="refsect1">
<a name="JSCException.see-also"></a><h2>See Also</h2>
<p>JSCContext</p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.27.1</div>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSCVirtualMachine: JavaScriptCore GLib Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="JavaScriptCore GLib Reference Manual">
<link rel="up" href="ch01.html" title="Class Overview">
<link rel="prev" href="ch01.html" title="Class Overview">
<link rel="next" href="JSCContext.html" title="JSCContext">
<meta name="generator" content="GTK-Doc V1.27.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#JSCVirtualMachine.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
<a href="#JSCVirtualMachine.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="ch01.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="JSCContext.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="JSCVirtualMachine"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="JSCVirtualMachine.top_of_page"></a>JSCVirtualMachine</span></h2>
<p>JSCVirtualMachine — JavaScript Virtual Machine</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="JSCVirtualMachine.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody><tr>
<td class="function_type">
<a class="link" href="JSCVirtualMachine.html" title="JSCVirtualMachine"><span class="returnvalue">JSCVirtualMachine</span></a> *
</td>
<td class="function_name">
<a class="link" href="JSCVirtualMachine.html#jsc-virtual-machine-new" title="jsc_virtual_machine_new ()">jsc_virtual_machine_new</a> <span class="c_punctuation">()</span>
</td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="JSCVirtualMachine.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody><tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="JSCVirtualMachine.html#JSCVirtualMachine-struct" title="struct JSCVirtualMachine">JSCVirtualMachine</a></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="JSCVirtualMachine.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen"> <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
<span class="lineart">╰──</span> JSCVirtualMachine
</pre>
</div>
<div class="refsect1">
<a name="JSCVirtualMachine.description"></a><h2>Description</h2>
<p>JSCVirtualMachine represents a group of JSCContexts. It allows
concurrent JavaScript exeution by creating a different instance of
JSCVirtualMachine in each thread.</p>
<p>To create a group of JSCContexts pass the same JSCVirtualMachine
instance to every JSCContext constructor.</p>
</div>
<div class="refsect1">
<a name="JSCVirtualMachine.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="jsc-virtual-machine-new"></a><h3>jsc_virtual_machine_new ()</h3>
<pre class="programlisting"><a class="link" href="JSCVirtualMachine.html" title="JSCVirtualMachine"><span class="returnvalue">JSCVirtualMachine</span></a> *
jsc_virtual_machine_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Create a new <a class="link" href="JSCVirtualMachine.html" title="JSCVirtualMachine"><span class="type">JSCVirtualMachine</span></a>.</p>
<div class="refsect3">
<a name="jsc-virtual-machine-new.returns"></a><h4>Returns</h4>
<p>the newly created <a class="link" href="JSCVirtualMachine.html" title="JSCVirtualMachine"><span class="type">JSCVirtualMachine</span></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
</div>
<div class="refsect1">
<a name="JSCVirtualMachine.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="JSCVirtualMachine-struct"></a><h3>struct JSCVirtualMachine</h3>
<pre class="programlisting">struct JSCVirtualMachine;</pre>
</div>
</div>
<div class="refsect1">
<a name="JSCVirtualMachine.see-also"></a><h2>See Also</h2>
<p>JSCContext</p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.27.1</div>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSCWeakValue: JavaScriptCore GLib Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="JavaScriptCore GLib Reference Manual">
<link rel="up" href="ch01.html" title="Class Overview">
<link rel="prev" href="JSCValue.html" title="JSCValue">
<link rel="next" href="JSCException.html" title="JSCException">
<meta name="generator" content="GTK-Doc V1.27.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#JSCWeakValue.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
<a href="#JSCWeakValue.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
<a href="#JSCWeakValue.properties" class="shortcut">Properties</a></span><span id="nav_signals">  <span class="dim">|</span> 
<a href="#JSCWeakValue.signals" class="shortcut">Signals</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="JSCValue.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="JSCException.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="JSCWeakValue"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="JSCWeakValue.top_of_page"></a>JSCWeakValue</span></h2>
<p>JSCWeakValue — JavaScript weak value</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="JSCWeakValue.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="JSCWeakValue.html" title="JSCWeakValue"><span class="returnvalue">JSCWeakValue</span></a> *
</td>
<td class="function_name">
<a class="link" href="JSCWeakValue.html#jsc-weak-value-new" title="jsc_weak_value_new ()">jsc_weak_value_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="JSCValue.html" title="JSCValue"><span class="returnvalue">JSCValue</span></a> *
</td>
<td class="function_name">
<a class="link" href="JSCWeakValue.html#jsc-weak-value-get-value" title="jsc_weak_value_get_value ()">jsc_weak_value_get_value</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="JSCWeakValue.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody><tr>
<td class="property_type">
<a class="link" href="JSCValue.html" title="JSCValue"><span class="type">JSCValue</span></a> *</td>
<td class="property_name"><a class="link" href="JSCWeakValue.html#JSCWeakValue--value" title="The “value” property">value</a></td>
<td class="property_flags">Write / Construct Only</td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="JSCWeakValue.signals"></a><h2>Signals</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="signals_return">
<col width="300px" class="signals_name">
<col width="200px" class="signals_flags">
</colgroup>
<tbody><tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="JSCWeakValue.html#JSCWeakValue-cleared" title="The “cleared” signal">cleared</a></td>
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="JSCWeakValue.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody><tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="JSCWeakValue.html#JSCWeakValue-struct" title="struct JSCWeakValue">JSCWeakValue</a></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="JSCWeakValue.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen"> <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
<span class="lineart">╰──</span> JSCWeakValue
</pre>
</div>
<div class="refsect1">
<a name="JSCWeakValue.description"></a><h2>Description</h2>
<p>JSCWeakValue represents a weak reference to a value in a <a class="link" href="JSCContext.html" title="JSCContext"><span class="type">JSCContext</span></a>. It can be used
to keep a reference to a JavaScript value without protecting it from being garbage
collected and without referencing the <a class="link" href="JSCContext.html" title="JSCContext"><span class="type">JSCContext</span></a> either.</p>
</div>
<div class="refsect1">
<a name="JSCWeakValue.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="jsc-weak-value-new"></a><h3>jsc_weak_value_new ()</h3>
<pre class="programlisting"><a class="link" href="JSCWeakValue.html" title="JSCWeakValue"><span class="returnvalue">JSCWeakValue</span></a> *
jsc_weak_value_new (<em class="parameter"><code><a class="link" href="JSCValue.html" title="JSCValue"><span class="type">JSCValue</span></a> *value</code></em>);</pre>
<p>Create a new <a class="link" href="JSCWeakValue.html" title="JSCWeakValue"><span class="type">JSCWeakValue</span></a> for the JavaScript value referenced by <em class="parameter"><code>value</code></em>
.</p>
<div class="refsect3">
<a name="jsc-weak-value-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a <a class="link" href="JSCValue.html" title="JSCValue"><span class="type">JSCValue</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="jsc-weak-value-new.returns"></a><h4>Returns</h4>
<p>a new <a class="link" href="JSCWeakValue.html" title="JSCWeakValue"><span class="type">JSCWeakValue</span></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="jsc-weak-value-get-value"></a><h3>jsc_weak_value_get_value ()</h3>
<pre class="programlisting"><a class="link" href="JSCValue.html" title="JSCValue"><span class="returnvalue">JSCValue</span></a> *
jsc_weak_value_get_value (<em class="parameter"><code><a class="link" href="JSCWeakValue.html" title="JSCWeakValue"><span class="type">JSCWeakValue</span></a> *weak_value</code></em>);</pre>
<p>Get a <a class="link" href="JSCValue.html" title="JSCValue"><span class="type">JSCValue</span></a> referencing the JavaScript value of <em class="parameter"><code>weak_value</code></em>
.</p>
<div class="refsect3">
<a name="jsc-weak-value-get-value.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>weak_value</p></td>
<td class="parameter_description"><p>a <a class="link" href="JSCWeakValue.html" title="JSCWeakValue"><span class="type">JSCWeakValue</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="jsc-weak-value-get-value.returns"></a><h4>Returns</h4>
<p>a new <a class="link" href="JSCValue.html" title="JSCValue"><span class="type">JSCValue</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>weak_value</code></em>
was cleared. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
</div>
<div class="refsect1">
<a name="JSCWeakValue.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="JSCWeakValue-struct"></a><h3>struct JSCWeakValue</h3>