Browse Source

Fix binding to cmark_node_get_fence_info

https://github.com/commonmark/cmark/blob/master/src/cmark.h#L334
Zac Nowicki 11 months ago
parent
commit
17cc423a17
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vendor/commonmark/cmark.odin

+ 1 - 1
vendor/commonmark/cmark.odin

@@ -338,7 +338,7 @@ foreign lib {
 	node_set_list_tight :: proc(node: ^Node, tight: b32) -> (success: b32) ---
 	node_set_list_tight :: proc(node: ^Node, tight: b32) -> (success: b32) ---
 
 
 	// Returns the info string from a fenced code block.
 	// Returns the info string from a fenced code block.
-	get_fence_info :: proc(node: ^Node) -> (fence_info: cstring) ---
+	node_get_fence_info :: proc(node: ^Node) -> (fence_info: cstring) ---
 
 
 	// Sets the info string in a fenced code block, returning `true` on success and `false` on failure.
 	// Sets the info string in a fenced code block, returning `true` on success and `false` on failure.
 	node_set_fence_info :: proc(node: ^Node, fence_info: cstring) -> (success: b32) ---
 	node_set_fence_info :: proc(node: ^Node, fence_info: cstring) -> (success: b32) ---