doc/api/ruby/classes/VPI/Handle.src/M000470.html in ruby-vpi-21.0.0 vs doc/api/ruby/classes/VPI/Handle.src/M000470.html in ruby-vpi-21.1.0
- old
+ new
@@ -3,17 +3,19 @@
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
- <title>release_value (VPI::Handle)</title>
+ <title>get_value_wrapper (VPI::Handle)</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
- <pre><span class="ruby-comment cmt"># File lib/ruby-vpi/core/handle.rb, line 207</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">release_value</span>
- <span class="ruby-comment cmt"># this doesn't really change the value, it only removes the force flag</span>
- <span class="ruby-identifier">put_value</span>(<span class="ruby-value">0</span>, <span class="ruby-constant">VpiIntVal</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-constant">VpiReleaseFlag</span>)
+ <pre><span class="ruby-comment cmt"># File lib/ruby-vpi/core/handle.rb, line 135</span>
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_value_wrapper</span> <span class="ruby-identifier">aFormat</span>
+ <span class="ruby-identifier">fmt</span> = <span class="ruby-identifier">resolve_prop_type</span>(<span class="ruby-identifier">aFormat</span>)
+ <span class="ruby-identifier">val</span> = <span class="ruby-constant">S_vpi_value</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">:format</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">fmt</span>)
+ <span class="ruby-identifier">vpi_get_value</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">val</span>)
+ <span class="ruby-identifier">val</span>
<span class="ruby-keyword kw">end</span></pre>
</body>
</html>
\ No newline at end of file