Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chuck cranor
margo
Commits
d6a9d297
Commit
d6a9d297
authored
Dec 17, 2015
by
Jonathan Jenkins
Browse files
avoid name clashes with c++ keywords
parent
eded9d81
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/margo.h
View file @
d6a9d297
...
...
@@ -84,10 +84,10 @@ hg_return_t margo_bulk_transfer(
/**
* Retrive the Margo instance that has been associated with a Mercury class
* @param [in] cl
ass
Mercury class
* @param [in] cl Mercury class
* @returns Margo instance on success, NULL on error
*/
margo_instance_id
margo_hg_class_to_instance
(
hg_class_t
*
cl
ass
);
margo_instance_id
margo_hg_class_to_instance
(
hg_class_t
*
cl
);
/**
* macro that defines a function to glue an RPC handler to a fiber
...
...
src/margo.c
View file @
d6a9d297
...
...
@@ -214,13 +214,13 @@ hg_return_t margo_bulk_transfer(
return
(
hret
);
}
margo_instance_id
margo_hg_class_to_instance
(
hg_class_t
*
cl
ass
)
margo_instance_id
margo_hg_class_to_instance
(
hg_class_t
*
cl
)
{
int
i
;
for
(
i
=
0
;
i
<
handler_mapping_table_size
;
i
++
)
{
if
(
handler_mapping_table
[
i
].
class
==
cl
ass
)
if
(
handler_mapping_table
[
i
].
class
==
cl
)
return
(
handler_mapping_table
[
i
].
mid
);
}
return
(
NULL
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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