annotate R/rdyncall/inst/dynports/SDL_ttf.R @ 43:1086ca649715

- fixed use after free issue with string handling (keeping strings as copy until after call)
author Tassilo Philipp
date Wed, 15 Apr 2020 21:58:13 +0200
parents 0cfcc391201f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
1 dynport("SDL")
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
2 dynbind("SDL_ttf", "
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
3 TTF_ByteSwappedUNICODE(i)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
4 TTF_CloseFont(*<_TTF_Font>)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5 TTF_FontAscent(*<_TTF_Font>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
6 TTF_FontDescent(*<_TTF_Font>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
7 TTF_FontFaceFamilyName(*<_TTF_Font>)*c;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
8 TTF_FontFaceIsFixedWidth(*<_TTF_Font>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
9 TTF_FontFaceStyleName(*<_TTF_Font>)*c;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
10 TTF_FontFaces(*<_TTF_Font>)j;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
11 TTF_FontHeight(*<_TTF_Font>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
12 TTF_FontLineSkip(*<_TTF_Font>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
13 TTF_GetFontStyle(*<_TTF_Font>)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
14 TTF_GlyphMetrics(*<_TTF_Font>S*i*i*i*i*i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
15 TTF_Init()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
16 TTF_Linked_Version()*<SDL_version>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
17 TTF_OpenFont(*ci)*<_TTF_Font>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
18 TTF_OpenFontIndex(*cij)*<_TTF_Font>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
19 TTF_OpenFontIndexRW(*<SDL_RWops>iij)*<_TTF_Font>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
20 TTF_OpenFontRW(*<SDL_RWops>ii)*<_TTF_Font>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
21 TTF_Quit()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
22 TTF_RenderGlyph_Blended(*<_TTF_Font>S)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
23 TTF_RenderGlyph_Shaded(*<_TTF_Font>S)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
24 TTF_RenderGlyph_Solid(*<_TTF_Font>S)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
25 TTF_RenderText_Blended(*<_TTF_Font>*c)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
26 TTF_RenderText_Shaded(*<_TTF_Font>*c)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
27 TTF_RenderText_Solid(*<_TTF_Font>*c)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
28 TTF_RenderUNICODE_Blended(*<_TTF_Font>*S)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
29 TTF_RenderUNICODE_Shaded(*<_TTF_Font>*S)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
30 TTF_RenderUNICODE_Solid(*<_TTF_Font>*S)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
31 TTF_RenderUTF8_Blended(*<_TTF_Font>*c)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
32 TTF_RenderUTF8_Shaded(*<_TTF_Font>*c)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
33 TTF_RenderUTF8_Solid(*<_TTF_Font>*c)*<SDL_Surface>;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
34 TTF_SetFontStyle(*<_TTF_Font>i)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
35 TTF_SizeText(*<_TTF_Font>*c*i*i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
36 TTF_SizeUNICODE(*<_TTF_Font>*S*i*i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
37 TTF_SizeUTF8(*<_TTF_Font>*c*i*i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
38 TTF_WasInit()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
39 ")
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
40 TTF_GetError=SDL_GetError
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
41 TTF_MAJOR_VERSION=2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
42 TTF_MINOR_VERSION=0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
43 TTF_PATCHLEVEL=9
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
44 TTF_STYLE_BOLD=0x01
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
45 TTF_STYLE_ITALIC=0x02
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
46 TTF_STYLE_NORMAL=0x00
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
47 TTF_STYLE_UNDERLINE=0x04
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
48 TTF_SetError=SDL_SetError
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
49