X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Fstyle.c;fp=src%2Fstyle.c;h=54b8aa2d687a47c93f76936cf7e58b809e9ecf9b;hb=2baac1a1aa285bc52da8feb92433144a1e50bcce;hp=c4f51f9a7ca81ffa89e439a10ca7a9c03d6e873d;hpb=49eca40060b04105343874714fa67976b9430def;p=rodin%2Fchimara.git diff --git a/src/style.c b/src/style.c index c4f51f9..54b8aa2 100644 --- a/src/style.c +++ b/src/style.c @@ -1,5 +1,17 @@ #include "glk.h" +/** + * glk_set_style: + * @val: A style. + * + * Changes the style of the current output stream. @val should be one of + * #style_Normal, #style_Emphasized, #style_Preformatted, #style_Header, + * #style_Subheader, #style_Alert, #style_Note, #style_BlockQuote, #style_Input, + * #style_User1, or #style_User2. However, any value is actually legal; if the + * library does not recognize the style value, it will treat it as + * #style_Normal. (This policy allows for the future definition of styles + * without breaking old Glk libraries.) + */ void glk_set_style(glui32 val) {