diff options
author | Chris Robinson <[email protected]> | 2013-11-02 16:58:26 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-11-02 16:58:26 -0700 |
commit | f868d881d912c4b83dbea6dd75003a3f64c2835f (patch) | |
tree | 95613bbf0bdc559dcc4d89cdcb913a5c49b818c8 /Alc/backends | |
parent | 3d921e0e6f2d97d49e0589d69054ffc8f1d1e3ab (diff) |
Constify some function pointers
Diffstat (limited to 'Alc/backends')
-rw-r--r-- | Alc/backends/base.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Alc/backends/base.h b/Alc/backends/base.h index 636e79e5..607ca6e8 100644 --- a/Alc/backends/base.h +++ b/Alc/backends/base.h @@ -30,17 +30,17 @@ struct ALCbackendVtable { ALCenum (*const open)(ALCbackend*, const ALCchar*); void (*const close)(ALCbackend*); - ALCboolean (*reset)(ALCbackend*); - ALCboolean (*start)(ALCbackend*); - void (*stop)(ALCbackend*); + ALCboolean (*const reset)(ALCbackend*); + ALCboolean (*const start)(ALCbackend*); + void (*const stop)(ALCbackend*); - ALCenum (*captureSamples)(ALCbackend*, void*, ALCuint); - ALCuint (*availableSamples)(ALCbackend*); + ALCenum (*const captureSamples)(ALCbackend*, void*, ALCuint); + ALCuint (*const availableSamples)(ALCbackend*); - ALint64 (*getLatency)(ALCbackend*); + ALint64 (*const getLatency)(ALCbackend*); - void (*lock)(ALCbackend*); - void (*unlock)(ALCbackend*); + void (*const lock)(ALCbackend*); + void (*const unlock)(ALCbackend*); void (*const Delete)(ALCbackend*); }; |