mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -04:00
Rename create -> openmc_create_source
This commit is contained in:
parent
fae474869c
commit
0bb5030ee0
3 changed files with 3 additions and 3 deletions
|
|
@ -380,7 +380,7 @@ void load_custom_source_library()
|
|||
custom_source_function = reinterpret_cast<sample_t>(dlsym(custom_source_library, "sample_source"));
|
||||
} else {
|
||||
// get the function to create the CustomSource from the library
|
||||
create_custom_source_t* create_custom_source = (create_custom_source_t*) dlsym(custom_source_library, "create");
|
||||
create_custom_source_t* create_custom_source = (create_custom_source_t*) dlsym(custom_source_library, "openmc_create_source");
|
||||
|
||||
// create a pointer to an instance of the CustomSource
|
||||
custom_source = create_custom_source(custom_source_parameters.c_str());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue