mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-31 18:32:12 +00:00
Merge branch 'master' of https://github.com/odin-lang/Odin
This commit is contained in:
4
vendor/commonmark/cmark.odin
vendored
4
vendor/commonmark/cmark.odin
vendored
@@ -23,6 +23,8 @@ when ODIN_OS == .Windows {
|
||||
}
|
||||
} else when ODIN_OS == .Linux {
|
||||
foreign import lib "system:cmark"
|
||||
} else when ODIN_OS == .Darwin {
|
||||
foreign import lib "system:cmark"
|
||||
}
|
||||
|
||||
Option :: enum c.int {
|
||||
@@ -529,4 +531,4 @@ get_default_mem_allocator_as_odin :: proc() -> runtime.Allocator {
|
||||
procedure = cmark_allocator_proc,
|
||||
data = rawptr(get_default_mem_allocator()),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user