mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 05:05:30 -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
|
|
@ -62,6 +62,6 @@ class ParameterizedSource : public openmc::CustomSource {
|
|||
// A function to create a pointer to an instance of this class when generated
|
||||
// via a plugin call using dlopen/dlsym.
|
||||
// You must have external C linkage here otherwise dlopen will not find the file
|
||||
extern "C" ParameterizedSource* create(const char* parameters) {
|
||||
extern "C" ParameterizedSource* openmc_create_source(const char* parameters) {
|
||||
return ParameterizedSource::from_string(parameters);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue