瀏覽代碼

Remove unneeded semicolons

bkrypt 3 年之前
父節點
當前提交
4911df9f99
共有 3 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      vendor/miniaudio/node_graph.odin
  2. 1 1
      vendor/miniaudio/resource_manager.odin
  3. 1 1
      vendor/miniaudio/utilities.odin

+ 2 - 2
vendor/miniaudio/node_graph.odin

@@ -156,7 +156,7 @@ node_base :: struct {
 	_outputBuses: [MAX_NODE_LOCAL_BUS_COUNT]node_output_bus,
 	_pHeap:       rawptr,   /* A heap allocation for internal use only. pInputBuses and/or pOutputBuses will point to this if the bus count exceeds MA_MAX_NODE_LOCAL_BUS_COUNT. */
 	_ownsHeap:    b32,      /* If set to true, the node owns the heap allocation and _pHeap will be freed in ma_node_uninit(). */
-};
+}
 
 @(default_calling_convention="c", link_prefix="ma_")
 foreign lib {
@@ -199,7 +199,7 @@ node_graph :: struct {
 
 	/* Read and written by multiple threads. */
 	isReading:            b32, /*atomic*/
-};
+}
 
 @(default_calling_convention="c", link_prefix="ma_")
 foreign lib {

+ 1 - 1
vendor/miniaudio/resource_manager.odin

@@ -218,7 +218,7 @@ foreign lib {
 	/* Init. */
 	resource_manager_init    :: proc(pConfig: ^resource_manager_config, pResourceManager: ^resource_manager) -> result ---
 	resource_manager_uninit  :: proc(pResourceManager: ^resource_manager) ---
-	resource_manager_get_log :: proc(pResourceManager: ^resource_manager) -> ^log ---;
+	resource_manager_get_log :: proc(pResourceManager: ^resource_manager) -> ^log ---
 
 	/* Registration. */
 	resource_manager_register_file           :: proc(pResourceManager: ^resource_manager, pFilePath: cstring, flags: u32) -> result ---

+ 1 - 1
vendor/miniaudio/utilities.odin

@@ -253,7 +253,7 @@ paged_audio_buffer_page :: struct {
 	pNext:        ^paged_audio_buffer_page, /*atomic*/
 	sizeInFrames: u64,
 	pAudioData:   [1]u8,
-};
+}
 
 paged_audio_buffer_data :: struct {
 	format:   format,