mirror of
https://gitea.tendokyu.moe/Dniel97/segatools.git
synced 2024-11-24 05:20:10 +01:00
board/io3.c: Add io3_to_jvs_node() accessor
This commit is contained in:
parent
879dc0bfb4
commit
93fcdf8f6d
@ -150,6 +150,13 @@ void io3_init(
|
||||
io3->ops_ctx = ops_ctx;
|
||||
}
|
||||
|
||||
struct jvs_node *io3_to_jvs_node(struct io3 *io3)
|
||||
{
|
||||
assert(io3 != NULL);
|
||||
|
||||
return &io3->jvs;
|
||||
}
|
||||
|
||||
static void io3_transact(
|
||||
struct jvs_node *node,
|
||||
const void *bytes,
|
||||
|
@ -33,3 +33,5 @@ void io3_init(
|
||||
struct jvs_node *next,
|
||||
const struct io3_ops *ops,
|
||||
void *ops_ctx);
|
||||
|
||||
struct jvs_node *io3_to_jvs_node(struct io3 *io3);
|
||||
|
Loading…
Reference in New Issue
Block a user