]> Cypherpunks.ru repositories - gostls13.git/blobdiff - doc/go1.22.html
cmd/compile/internal/inline: score call sites exposed by inlines
[gostls13.git] / doc / go1.22.html
index 7fee6a09ee8568a2cc98d44b79c514e8f3550cc8..287ee77bb567083224702df5cbc8a482863dc374 100644 (file)
@@ -39,24 +39,7 @@ Do not send CLs removing the interior tags from such phrases.
 
 <h3 id="cgo">Cgo</h3>
 
-<p><!-- CL 497837 --> The special comment that precedes
-  <code>import</code> <code>"C"</code> may now include two
-  new <code>#cgo</code> directives.
-  <ul>
-    <li>
-      <code>#cgo</code> <code>noescape</code> <code>cFunctionName</code>
-      tells cgo that Go pointers passed to the C function
-      <code>cFunctionName</code> do not escape.
-    </li>
-    <li>
-      <code>#cgo</code> <code>nocallback</code> <code>cFunctionName</code>
-      tells cgo that the C function <code>cFunctionName</code> does
-      not call any Go functions.
-    </li>
-  </ul>
-  See <a href="/cmd/cgo#hdr-Optimizing_calls_of_C_code">the <code>cgo</code>
-  documentation</a> for more details.
-</p>
+<!-- CL 497837 reverted -->
 
 <h2 id="runtime">Runtime</h2>
 
@@ -109,7 +92,7 @@ Do not send CLs removing the interior tags from such phrases.
       blank field (a field named <code>_</code>) somehow has a
       non-zero value.
       These changes make <code>IsZero</code> consistent with comparing
-      a value to zero using the languague <code>==</code> operator.
+      a value to zero using the language <code>==</code> operator.
     </p>
   </dd>
 </dl>