title: Namespaces in C
body: <p>Is there a way to (ab)use the <strong>C</strong> preprocessor to emulate namespaces in <strong>C</strong>?</p>
  
  <p>I'm thinking something along these lines:</p>
  
  <pre><code>#define NAMESPACE name_of_ns
  some_function() {
      some_other_function();
  }
  </code></pre>
  
  <p>This would get translated to:</p>
  
  <pre><code>name_of_ns_some_function() {
      name_of_ns_some_other_function();
  }
  </code></pre>