summaryrefslogtreecommitdiffstats
path: root/libass/ass_render.h
diff options
context:
space:
mode:
authorOneric <oneric@oneric.stub>2022-10-21 00:47:17 +0200
committerOneric <oneric@oneric.stub>2022-10-22 18:05:11 +0200
commit1884f6ef05673941c4db6bc89a8850c167905eff (patch)
treefd0a322e183ad90ff5545c03f138f2c469b0ef35 /libass/ass_render.h
parentcb49725e2f446f0c24aa1bcd161eb74abfe11291 (diff)
downloadlibass-1884f6ef05673941c4db6bc89a8850c167905eff.tar.bz2
libass-1884f6ef05673941c4db6bc89a8850c167905eff.tar.xz
refactor: prefix all internal API with ass_
If static libass is linked into a binary defining functions of the same name there will be issues. To avoid this use an ass_ prefix for namespacing. Before this commit we already did this for most but not yet all internal API. read_file is renamed to ass_load_file as ass_read_file already exists as a public API function. All other functions are simply prefixed with ass_. Fixes: https://github.com/libass/libass/issues/222 Fixes: https://github.com/libass/libass/issues/654
Diffstat (limited to 'libass/ass_render.h')
-rw-r--r--libass/ass_render.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libass/ass_render.h b/libass/ass_render.h
index e9fe6dc..f8613e3 100644
--- a/libass/ass_render.h
+++ b/libass/ass_render.h
@@ -148,7 +148,7 @@ typedef struct glyph_info {
ASS_Vector cluster_advance;
Effect effect_type;
int32_t effect_timing; // time duration of current karaoke word
- // after process_karaoke_effects: distance in subpixels from the karaoke origin.
+ // after ass_process_karaoke_effects: distance in subpixels from the karaoke origin.
// part of the glyph to the left of it is displayed in a different color.
int32_t effect_skip_timing; // delay after the end of last karaoke word
bool reset_effect;
@@ -346,7 +346,7 @@ typedef struct {
int y1;
} Rect;
-void reset_render_context(ASS_Renderer *render_priv, ASS_Style *style);
+void ass_reset_render_context(ASS_Renderer *render_priv, ASS_Style *style);
void ass_frame_ref(ASS_Image *img);
void ass_frame_unref(ASS_Image *img);
ASS_Vector ass_layout_res(ASS_Renderer *render_priv);