1
0
Fork 0
mirror of https://github.com/bjornbytes/lovr.git synced 2024-07-04 13:33:34 +00:00
lovr/src/api
bjorn b22dbd8f0c Add luax_checku32 and luax_optu32;
These functions read an unsigned 32 bit integer from the Lua stack
and error if the value is negative or too big.  Currently converting
Lua numbers to integers will silently wrap or invoke undefined behavior
when they are outside of the acceptable range.

For projects that don't want the overhead of type/bounds checks, the
supercharge build option (LOVR_UNCHECKED) can now be used to skip all
type/bounds checks.
2022-02-21 14:19:24 -08:00
..
api.c Add luax_checku32 and luax_optu32; 2022-02-21 14:19:24 -08:00
api.h Add luax_checku32 and luax_optu32; 2022-02-21 14:19:24 -08:00
l_audio.c Add luax_checku32 and luax_optu32; 2022-02-21 14:19:24 -08:00
l_audio_source.c Source directivity power defaults to 1; 2021-04-03 11:22:23 -06:00
l_data.c Add luax_checku32 and luax_optu32; 2022-02-21 14:19:24 -08:00
l_data_blob.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_data_image.c Add luax_checku32 and luax_optu32; 2022-02-21 14:19:24 -08:00
l_data_modelData.c Add luax_checku32 and luax_optu32; 2022-02-21 14:19:24 -08:00
l_data_rasterizer.c Add luax_checku32 and luax_optu32; 2022-02-21 14:19:24 -08:00
l_data_sound.c Add luax_checku32 and luax_optu32; 2022-02-21 14:19:24 -08:00
l_event.c Add luax_checku32 and luax_optu32; 2022-02-21 14:19:24 -08:00
l_filesystem.c rm unused variables; 2021-06-01 09:59:38 -06:00
l_graphics.c Add luax_checku32 and luax_optu32; 2022-02-21 14:19:24 -08:00
l_graphics_canvas.c Add luax_checku32 and luax_optu32; 2022-02-21 14:19:24 -08:00
l_graphics_font.c Font:getWidth also returns width of last line; 2021-09-06 16:14:47 -07:00
l_graphics_material.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_graphics_mesh.c Fix Mesh:setVertices starting index wraparound crash; 2021-10-09 03:01:40 -07:00
l_graphics_model.c Fix Model:getTriangles; Add Lua API; 2021-03-25 12:29:11 -06:00
l_graphics_shader.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_graphics_shaderBlock.c Fix ShaderBlock:send(Blob) error message; 2021-06-28 22:39:16 -07:00
l_graphics_texture.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_headset.c Add luax_checku32 and luax_optu32; 2022-02-21 14:19:24 -08:00
l_lovr.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_math.c rm some unnecessary includes; 2021-04-20 20:08:30 -06:00
l_math_curve.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_math_randomGenerator.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_math_vectors.c Merge branch 'master' into dev 2021-12-20 17:12:39 +02:00
l_physics.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_physics_collider.c rm some unnecessary includes; 2021-04-20 20:08:30 -06:00
l_physics_joints.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_physics_shapes.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_physics_world.c World:newMeshCollider uses luax_readmesh; 2021-03-25 12:29:11 -06:00
l_system.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_thread.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_thread_channel.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_thread_thread.c Flatten api.h; 2021-03-15 18:54:27 -06:00
l_timer.c Flatten api.h; 2021-03-15 18:54:27 -06:00