Upgrade ffm-plus to v0.2.7, and other wrapper modules to v0.4.4.
New bindings
- (@CousinZe) Added
stb_vorbissupport instbmodule, which provides bindings forstb_vorbis.h.
Functionality updates
- (@CousinZe) Added
STBUtil.freeMemorymethod to free memory allocated bystblibraries. - (@CousinZe) Added
LibcArena.freeNonAllocatedmethod to free memory allocated by libc allocator but not viaLibcArena.allocatemethod. This is an alternative to library specificUtil.freeMemorymethods with some risk.
Quality of Life updates
-
Supported auto-initialization of nested structures (#147). Now structures like
VkComputePipelineCreateInfowill have their nested structures automatically initialized:VkComputePipelineCreateInfo createInfo = VkComputePipelineCreateInfo.allocate(arena) .stage(it -> it // .sType(VkStructureType.PIPELINE_SHADER_STAGE_CREATE_INFO) // <-- no more needed .stage(VkShaderStageFlags.COMPUTE) .module(computeShader.handle) .pName(entryName) .pSpecializationInfo(specInfo)) .layout(layout.handle);
Bugfixes
- Fixed a JavaDoc generation issue #158, where
uniontypes incorrectly havestructin their layout documentation.