update to new C roles and directives
diff --git a/Doc/library/fl.rst b/Doc/library/fl.rst
index a5a426a..540cac9 100644
--- a/Doc/library/fl.rst
+++ b/Doc/library/fl.rst
@@ -29,8 +29,8 @@
the 'current form' maintained by the library to which new FORMS objects are
added, all functions that add a FORMS object to a form are methods of the Python
object representing the form. Consequently, there are no Python equivalents for
-the C functions :cfunc:`fl_addto_form` and :cfunc:`fl_end_form`, and the
-equivalent of :cfunc:`fl_bgn_form` is called :func:`fl.make_form`.
+the C functions :c:func:`fl_addto_form` and :c:func:`fl_end_form`, and the
+equivalent of :c:func:`fl_bgn_form` is called :func:`fl.make_form`.
Watch out for the somewhat confusing terminology: FORMS uses the word
:dfn:`object` for the buttons, sliders etc. that you can place in a form. In
@@ -44,7 +44,7 @@
event handling is available, though, so you can mix FORMS with pure GL windows.
**Please note:** importing :mod:`fl` implies a call to the GL function
-:cfunc:`foreground` and to the FORMS routine :cfunc:`fl_init`.
+:c:func:`foreground` and to the FORMS routine :c:func:`fl_init`.
.. _fl-functions:
@@ -88,7 +88,7 @@
.. function:: get_rgbmode()
Return the current rgb mode. This is the value of the C global variable
- :cdata:`fl_rgbmode`.
+ :c:data:`fl_rgbmode`.
.. function:: show_message(str1, str2, str3)
@@ -153,8 +153,8 @@
mapcolor()
getmcolor()
- See the description in the FORMS documentation of :cfunc:`fl_color`,
- :cfunc:`fl_mapcolor` and :cfunc:`fl_getmcolor`.
+ See the description in the FORMS documentation of :c:func:`fl_color`,
+ :c:func:`fl_mapcolor` and :c:func:`fl_getmcolor`.
.. _form-objects: