Debian Codegraph @

autotests/html/highlight_objectivecxx.mm.dark.html

raw
1 <!DOCTYPE html>
2 <html><head>
3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
4 <title>highlight_objectivecxx.mm</title>
5 <meta name="generator" content="KF5::SyntaxHighlighting - Definition (Objective-C++) - Theme (Breeze Dark)"/>
6 </head><body style="background-color:#232629;color:#cfcfc2"><pre>
7 <span style="color:#27ae60;">#include </span><span style="color:#27ae60;">&lt;cstdio&gt;</span>
8
9 <span style="color:#27ae60;">#import </span><span style="color:#27ae60;">&lt;Fondation/Fondation.h&gt;</span>
10
11 <span style="color:#2980b9;">void</span> cxx_method<span style="color:#3f8058;">(</span><span style="color:#2980b9;">const</span> std<span style="color:#3f8058;">::</span>string <span style="color:#3f8058;">&amp;</span>myText<span style="color:#3f8058;">)</span>
12 <span style="color:#3f8058;">{</span>
13 NSString <span style="color:#3f8058;">*</span>string <span style="color:#3f8058;">=</span> <span style="color:#3f8058;">[</span>NSString stringWithCString<span style="color:#3f8058;">:</span>myText<span style="color:#3f8058;">.</span>c_str<span style="color:#3f8058;">()</span>
14 encoding<span style="color:#3f8058;">:[</span>NSString defaultCStringEncoding<span style="color:#3f8058;">]];</span>
15 NSLog<span style="color:#3f8058;">(</span><span style="color:#f44f4f;">@&quot;String:%@&quot;</span><span style="color:#3f8058;">,</span>string<span style="color:#3f8058;">);</span>
16 <span style="color:#3f8058;">}</span>
17 </pre></body></html>