0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00
obs-studio/libobs-opengl
jp9000 c9df41c1e2 (API Change) Remove pointers from all typedefs
Typedef pointers are unsafe.  If you do:
typedef struct bla *bla_t;
then you cannot use it as a constant, such as: const bla_t, because
that constant will be to the pointer itself rather than to the
underlying data.  I admit this was a fundamental mistake that must
be corrected.

All typedefs that were pointer types will now have their pointers
removed from the type itself, and the pointers will be used when they
are actually used as variables/parameters/returns instead.

This does not break ABI though, which is pretty nice.
2014-09-25 21:48:11 -07:00
..
.gitignore first commit 2013-09-30 19:37:13 -07:00
CMakeLists.txt Update OSX dependencies for cmake generators other than ninja/make 2014-05-08 14:31:43 +02:00
gl-cocoa.m (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00
gl-helpers.c Use uint8_t* instead of void* for texture data 2014-06-28 10:12:57 -07:00
gl-helpers.h Use uint8_t* instead of void* for texture data 2014-06-28 10:12:57 -07:00
gl-indexbuffer.c (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00
gl-shader.c (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00
gl-shaderparser.c Replace ARB_separate_shader_objects extension 2014-09-19 18:23:51 -07:00
gl-shaderparser.h (API Change) Improve graphics API consistency 2014-08-09 11:57:38 -07:00
gl-stagesurf.c (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00
gl-subsystem.c (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00
gl-subsystem.h (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00
gl-texture2d.c (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00
gl-texturecube.c (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00
gl-vertexbuffer.c (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00
gl-windows.c (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00
gl-x11.c (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00
gl-zstencil.c (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00