| 1 |
.. c:namespace:: index |
| 2 |
|
| 3 |
test-domain-c |
| 4 |
============= |
| 5 |
|
| 6 |
directives |
| 7 |
---------- |
| 8 |
|
| 9 |
.. c:function:: int hello(const char *name) |
| 10 |
|
| 11 |
:rtype: int |
| 12 |
|
| 13 |
.. c:function:: MyStruct hello2(char *name) |
| 14 |
|
| 15 |
:rtype: MyStruct |
| 16 |
|
| 17 |
.. c:member:: float Sphinx.version |
| 18 |
.. c:var:: int version |
| 19 |
|
| 20 |
.. c:macro:: IS_SPHINX |
| 21 |
.. c:macro:: SPHINX(arg1, arg2) |
| 22 |
|
| 23 |
.. c:struct:: MyStruct |
| 24 |
.. c:union:: MyUnion |
| 25 |
.. c:enum:: MyEnum |
| 26 |
|
| 27 |
.. c:enumerator:: MyEnumerator |
| 28 |
|
| 29 |
:c:enumerator:`MyEnumerator` |
| 30 |
|
| 31 |
:c:enumerator:`MyEnumerator` |
| 32 |
|
| 33 |
:c:enumerator:`MyEnumerator` |
| 34 |
|
| 35 |
.. c:type:: Sphinx |
| 36 |
.. c:type:: int SphinxVersionNum |
| 37 |
|
| 38 |
|
| 39 |
.. c:struct:: A |
| 40 |
|
| 41 |
.. c:union:: @data |
| 42 |
|
| 43 |
.. c:member:: int a |
| 44 |
|
| 45 |
- :c:member:`[email protected]` |
| 46 |
- :c:member:`A.a` |
| 47 |
|
| 48 |
- :c:expr:`unsigned int` |
| 49 |
- :c:texpr:`unsigned int` |
| 50 |
|
| 51 |
.. c:var:: A a |
| 52 |
|
| 53 |
- :c:expr:`a->b` |
| 54 |
- :c:texpr:`a->b` |