@@ -1668,21 +1668,21 @@ typedef struct {
16681668// / ulRender().
16691669// /
16701670typedef void
1671- (*ULGPUDriverBeginSynchronize ) ();
1671+ (*ULGPUDriverBeginSynchronizeCallback ) ();
16721672
16731673// /
16741674// / The callback invoked when the GPUDriver has finished dispatching commands.
16751675// / during the current call to ulRender().
16761676// /
16771677typedef void
1678- (*ULGPUDriverEndSynchronize ) ();
1678+ (*ULGPUDriverEndSynchronizeCallback ) ();
16791679
16801680// /
16811681// / The callback invoked when the GPUDriver wants to get the next available
16821682// / texture ID.
16831683// /
16841684typedef unsigned int
1685- (*ULGPUDriverNextTextureId ) ();
1685+ (*ULGPUDriverNextTextureIdCallback ) ();
16861686
16871687// /
16881688// / The callback invoked when the GPUDriver wants to create a texture with a
@@ -1693,97 +1693,97 @@ typedef unsigned int
16931693// / texture for a new RenderBuffer.
16941694// /
16951695typedef void
1696- (*ULGPUDriverCreateTexture ) (unsigned int texture_id,
1697- ULBitmap bitmap);
1696+ (*ULGPUDriverCreateTextureCallback ) (unsigned int texture_id,
1697+ ULBitmap bitmap);
16981698
16991699// /
17001700// / The callback invoked when the GPUDriver wants to update an existing non-RTT
17011701// / texture with new bitmap data.
17021702// /
17031703typedef void
1704- (*ULGPUDriverUpdateTexture ) (unsigned int texture_id,
1705- ULBitmap bitmap);
1704+ (*ULGPUDriverUpdateTextureCallback ) (unsigned int texture_id,
1705+ ULBitmap bitmap);
17061706
17071707// /
17081708// / The callback invoked when the GPUDriver wants to destroy a texture.
17091709// /
17101710typedef void
1711- (*ULGPUDriverDestroyTexture ) (unsigned int texture_id);
1711+ (*ULGPUDriverDestroyTextureCallback ) (unsigned int texture_id);
17121712
17131713// /
17141714// / The callback invoked when the GPUDriver wants to generate the next
17151715// / available render buffer ID.
17161716// /
17171717typedef unsigned int
1718- (*ULGPUDriverNextRenderBufferId ) ();
1718+ (*ULGPUDriverNextRenderBufferIdCallback ) ();
17191719
17201720// /
17211721// / The callback invoked when the GPUDriver wants to create a render buffer
17221722// / with certain ID and buffer description.
17231723// /
17241724typedef void
1725- (*ULGPUDriverCreateRenderBuffer ) (unsigned int render_buffer_id,
1726- ULRenderBuffer buffer);
1725+ (*ULGPUDriverCreateRenderBufferCallback ) (unsigned int render_buffer_id,
1726+ ULRenderBuffer buffer);
17271727
17281728// /
17291729// / The callback invoked when the GPUDriver wants to destroy a render buffer
17301730// /
17311731typedef void
1732- (*ULGPUDriverDestroyRenderBuffer ) (unsigned int render_buffer_id);
1732+ (*ULGPUDriverDestroyRenderBufferCallback ) (unsigned int render_buffer_id);
17331733
17341734// /
17351735// / The callback invoked when the GPUDriver wants to generate the next
17361736// / available geometry ID.
17371737// /
17381738typedef unsigned int
1739- (*ULGPUDriverNextGeometryId ) ();
1739+ (*ULGPUDriverNextGeometryIdCallback ) ();
17401740
17411741// /
17421742// / The callback invoked when the GPUDriver wants to create geometry with
17431743// / certain ID and vertex/index data.
17441744// /
17451745typedef void
1746- (*ULGPUDriverCreateGeometry ) (unsigned int geometry_id,
1747- ULVertexBuffer vertices,
1748- ULIndexBuffer indices);
1746+ (*ULGPUDriverCreateGeometryCallback ) (unsigned int geometry_id,
1747+ ULVertexBuffer vertices,
1748+ ULIndexBuffer indices);
17491749
17501750// /
17511751// / The callback invoked when the GPUDriver wants to update existing geometry
17521752// / with new vertex/index data.
17531753// /
17541754typedef void
1755- (*ULGPUDriverUpdateGeometry ) (unsigned int geometry_id,
1756- ULVertexBuffer vertices,
1757- ULIndexBuffer indices);
1755+ (*ULGPUDriverUpdateGeometryCallback ) (unsigned int geometry_id,
1756+ ULVertexBuffer vertices,
1757+ ULIndexBuffer indices);
17581758
17591759// /
17601760// / The callback invoked when the GPUDriver wants to destroy geometry.
17611761// /
17621762typedef void
1763- (*ULGPUDriverDestroyGeometry ) (unsigned int geometry_id);
1763+ (*ULGPUDriverDestroyGeometryCallback ) (unsigned int geometry_id);
17641764
17651765// /
17661766// / The callback invoked when the GPUDriver wants to update the command list
17671767// / (you should copy the commands to your own structure).
17681768// /
17691769typedef void
1770- (*ULGPUDriverUpdateCommandList ) (ULCommandList list);
1770+ (*ULGPUDriverUpdateCommandListCallback ) (ULCommandList list);
17711771
17721772typedef struct {
1773- ULGPUDriverBeginSynchronize begin_synchronize;
1774- ULGPUDriverEndSynchronize end_synchronize;
1775- ULGPUDriverNextTextureId next_texture_id;
1776- ULGPUDriverCreateTexture create_texture;
1777- ULGPUDriverUpdateTexture update_texture;
1778- ULGPUDriverDestroyTexture destroy_texture;
1779- ULGPUDriverNextRenderBufferId next_render_buffer_id;
1780- ULGPUDriverCreateRenderBuffer create_render_buffer;
1781- ULGPUDriverDestroyRenderBuffer destroy_render_buffer;
1782- ULGPUDriverNextGeometryId next_geometry_id;
1783- ULGPUDriverCreateGeometry create_geometry;
1784- ULGPUDriverUpdateGeometry update_geometry;
1785- ULGPUDriverDestroyGeometry destroy_geometry;
1786- ULGPUDriverUpdateCommandList update_command_list;
1773+ ULGPUDriverBeginSynchronizeCallback begin_synchronize;
1774+ ULGPUDriverEndSynchronizeCallback end_synchronize;
1775+ ULGPUDriverNextTextureIdCallback next_texture_id;
1776+ ULGPUDriverCreateTextureCallback create_texture;
1777+ ULGPUDriverUpdateTextureCallback update_texture;
1778+ ULGPUDriverDestroyTextureCallback destroy_texture;
1779+ ULGPUDriverNextRenderBufferIdCallback next_render_buffer_id;
1780+ ULGPUDriverCreateRenderBufferCallback create_render_buffer;
1781+ ULGPUDriverDestroyRenderBufferCallback destroy_render_buffer;
1782+ ULGPUDriverNextGeometryIdCallback next_geometry_id;
1783+ ULGPUDriverCreateGeometryCallback create_geometry;
1784+ ULGPUDriverUpdateGeometryCallback update_geometry;
1785+ ULGPUDriverDestroyGeometryCallback destroy_geometry;
1786+ ULGPUDriverUpdateCommandListCallback update_command_list;
17871787} ULGPUDriver;
17881788
17891789// /
@@ -1810,7 +1810,7 @@ ULExport ULMatrix4x4 ulApplyProjection(ULMatrix4x4 transform,
18101810// / clipboard.
18111811// /
18121812typedef void
1813- (*ULClipboardClear ) ();
1813+ (*ULClipboardClearCallback ) ();
18141814
18151815// /
18161816// / The callback invoked when the library wants to read from the system's
@@ -1819,19 +1819,19 @@ typedef void
18191819// / You should store the result (if any) in 'result'.
18201820// /
18211821typedef void
1822- (*ULClipboardReadPlainText ) (ULString result);
1822+ (*ULClipboardReadPlainTextCallback ) (ULString result);
18231823
18241824// /
18251825// / The callback invoked when the library wants to write to the system's
18261826// / clipboard.
18271827// /
18281828typedef void
1829- (*ULClipboardWritePlainText ) (ULString text);
1829+ (*ULClipboardWritePlainTextCallback ) (ULString text);
18301830
18311831typedef struct {
1832- ULClipboardClear clear;
1833- ULClipboardReadPlainText read_plain_text;
1834- ULClipboardWritePlainText write_plain_text;
1832+ ULClipboardClearCallback clear;
1833+ ULClipboardReadPlainTextCallback read_plain_text;
1834+ ULClipboardWritePlainTextCallback write_plain_text;
18351835} ULClipboard;
18361836
18371837/* *****************************************************************************
0 commit comments