|
@@ -117,14 +117,20 @@
|
|
|
// allocate a new class
|
|
|
var foo = MyClass();
|
|
|
|
|
|
- // execute the my_function C function
|
|
|
+ // execute the myfunc C function
|
|
|
foo.myfunc();
|
|
|
}
|
|
|
</code></pre>
|
|
|
|
|
|
+ <!--<h4 class="section-h4">Execute Gravity code from C</h4>
|
|
|
+ <p></p>
|
|
|
+ <pre><code class="cpp">
|
|
|
+ </code></pre>-->
|
|
|
+
|
|
|
<h4 class="section-h4">Bridge API</h4>
|
|
|
<p>Gravity C API offers much more flexibility using the delegate bridge API.
|
|
|
<br>TO DO: more information here.</p>
|
|
|
+ <br>TO DO: post objc bridge.</p>
|
|
|
</div>
|
|
|
<!-- END CONTENT -->
|
|
|
|