Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
bake
Commits
62b37947
Commit
62b37947
authored
Feb 15, 2021
by
Philip Carns
Browse files
experimental abt-io dependency retrieval
parent
3f8adcbe
Changes
1
Show whitespace changes
Inline
Side-by-side
src/bake-bedrock-module.c
View file @
62b37947
...
...
@@ -3,8 +3,10 @@
*
* See COPYRIGHT in top-level directory.
*/
#include <bedrock/module.h>
#include <string.h>
#include <bedrock/module.h>
#include <abt-io.h>
#include "bake-server.h"
#include "bake-client.h"
...
...
@@ -20,6 +22,12 @@ static int bake_register_provider(bedrock_args_t args,
ABT_pool
pool
=
bedrock_args_get_pool
(
args
);
const
char
*
config
=
bedrock_args_get_config
(
args
);
const
char
*
name
=
bedrock_args_get_name
(
args
);
abt_io_instance_id
abtio
=
bedrock_args_get_dependency
(
args
,
"abt_io"
,
0
);
if
(
abtio
)
BAKE_DEBUG
(
mid
,
"got abt-io instance"
);
else
BAKE_DEBUG
(
mid
,
"did not get abt-io instance"
);
BAKE_TRACE
(
mid
,
"bake_register_provider()"
);
BAKE_INFO
(
mid
,
" -> mid = %p"
,
(
void
*
)
mid
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment