Armin Rigo avatar Armin Rigo committed ea9fec0

More documentation

Comments (0)

Files changed (1)

doc/source/index.rst

    functions like ``long double add(long double a, long double b);``.
 
 .. versionchanged:: 0.6
-   `(*****)` Enums are now handled like ints.  In previous versions,
-   you would get the enum's value as a string.  Now we follow the C
-   convention and treat them as really equivalent to ints.  To compare
+   `(*****)` Enums are now handled like ints (unsigned or signed, int or
+   long, like GCC; note that the first choice is unsigned).  In previous
+   versions, you would get the enum's value as a string.  Now we follow the C
+   convention and treat them as really equivalent to integers.  To compare
    their value symbolically, use code like ``if x.field == lib.FOO``.
    If you really want to get their value as a string, use
    ``ffi.string(ffi.cast("the_enum_type", x.field))``.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.