Rename create -> openmc_create_source

This commit is contained in:
Dan Short 2020-08-05 16:02:52 +01:00
parent fae474869c
commit 0bb5030ee0
3 changed files with 3 additions and 3 deletions

View file

@ -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);
}