Skip to content

Commit d56f93a

Browse files
committed
1 parent 63be0a7 commit d56f93a

3 files changed

Lines changed: 23 additions & 2 deletions

File tree

‎4.x/index.html‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,17 @@
575575
</span>
576576
</a>
577577

578+
</li>
579+
580+
<li class="md-nav__item">
581+
<a href="#example-project" class="md-nav__link">
582+
<span class="md-ellipsis">
583+
584+
Example Project
585+
586+
</span>
587+
</a>
588+
578589
</li>
579590

580591
<li class="md-nav__item">
@@ -3305,6 +3316,16 @@ <h2 id="project-details">Project Details<a class="headerlink" href="#project-det
33053316
<p>Source code is hosted on GitHub: <a href="https://github.com/ruby-rice/rice">https://github.com/ruby-rice/rice</a></p>
33063317
<p>Bug tracking is also hosted on GitHub: <a href="https://github.com/ruby-rice/rice/issues">https://github.com/ruby-rice/rice/issues</a></p>
33073318
<p>API documentation: <a href="https://ruby-rice.github.io/4.x">https://ruby-rice.github.io/4.x</a></p>
3319+
<h2 id="example-project">Example Project<a class="headerlink" href="#example-project" title="Permanent link">&para;</a></h2>
3320+
<p>For a complete, real-world example of a Rice extension, see <a href="https://github.com/ruby-rice/BitmapPlusPlus-ruby">BitmapPlusPlus-ruby</a>. This gem provides Ruby bindings for a C++ image manipulation library and demonstrates many Rice features including:</p>
3321+
<ul>
3322+
<li>Constructor overloading</li>
3323+
<li>Operator exposure</li>
3324+
<li>STL integration</li>
3325+
<li>Iterator support</li>
3326+
<li>Exception handling</li>
3327+
</ul>
3328+
<p>The well-commented binding code makes it a valuable learning resource for developers building their own C++ extensions.</p>
33083329
<h2 id="next-steps">Next Steps<a class="headerlink" href="#next-steps" title="Permanent link">&para;</a></h2>
33093330
<ul>
33103331
<li><a href="installation/">Installation</a> - How to install Rice</li>

‎4.x/search/search_index.json‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

‎4.x/tutorial/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3714,7 +3714,7 @@ <h2 id="exceptions">Exceptions<a class="headerlink" href="#exceptions" title="Pe
37143714
</code></pre></div>
37153715
<p>For more information refer to the <a href="../bindings/exceptions/">Exceptions</a> section.</p>
37163716
<h2 id="next-steps">Next Steps<a class="headerlink" href="#next-steps" title="Permanent link">&para;</a></h2>
3717-
<p>Hopefully this tutorial will help get you started wrapping C++ libraries for use in Ruby. For more detailed information refer to the <a href="../bindings/constructors/">Wrapping C++</a> section.</p>
3717+
<p>Hopefully this tutorial will help get you started wrapping C++ libraries for use in Ruby. For more detailed information refer to the <a href="../bindings/overview/">Wrapping C++</a> section.</p>
37183718

37193719

37203720

0 commit comments

Comments
 (0)