mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-19 21:10:30 +00:00
Merge branch 'master' of https://github.com/odin-lang/Odin
This commit is contained in:
@@ -1476,6 +1476,7 @@ gb_internal void init_build_context(TargetMetrics *cross_target, Subtarget subta
|
||||
bc->link_flags = str_lit("/machine:x64 ");
|
||||
break;
|
||||
case TargetOs_darwin:
|
||||
bc->link_flags = str_lit("-arch x86_64 ");
|
||||
break;
|
||||
case TargetOs_linux:
|
||||
bc->link_flags = str_lit("-arch x86-64 ");
|
||||
|
||||
10
vendor/commonmark/cmark.odin
vendored
10
vendor/commonmark/cmark.odin
vendored
@@ -366,6 +366,16 @@ foreign lib {
|
||||
// Returns `true` on success, `false`on failure.
|
||||
node_set_on_enter :: proc(node: ^Node, on_enter: cstring) -> (success: b32) ---
|
||||
|
||||
// Returns the literal "on exit" text for a custom 'node', or
|
||||
// an empty string if no on_exit is set. Returns NULL if
|
||||
// called on a non-custom node.
|
||||
node_get_on_exit :: proc(node: ^Node) -> (on_exit: cstring) ---
|
||||
|
||||
// Sets the literal text to render "on exit" for a custom 'node'.
|
||||
// Any children of the node will be rendered before this text.
|
||||
// Returns 1 on success 0 on failure.
|
||||
node_set_on_exit :: proc(node: ^Node, on_exit: cstring) -> (success: b32) ---
|
||||
|
||||
// Returns the line on which `node` begins.
|
||||
node_get_start_line :: proc(node: ^Node) -> (line: c.int) ---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user