
.. _program_listing_file_Test_compile_c_header_consumer.c:

Program Listing for File c_header_consumer.c
============================================

|exhale_lsh| :ref:`Return to documentation for file <file_Test_compile_c_header_consumer.c>` (``Test/compile/c_header_consumer.c``)

.. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS

.. code-block:: cpp

   /* Compiled as C17: the embedder header must stay valid C, which no C++ translation unit can prove. */
   #include "kataglyphis_c_api.h"
   
   int kataglyphis_c_header_consumer_add(int lhs, int rhs);
   
   int kataglyphis_c_header_consumer_add(int lhs, int rhs) { return kataglyphis_add(lhs, rhs); }
