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

@ -55,6 +55,6 @@ class ParameterizedSource : public openmc::CustomSource {
// 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);
}