@@ -323,11 +323,11 @@ SWIGINTERN void SWIG_assign(SwigClassWrapper* self, SwigClassWrapper other) {
323
323
%typemap(imtype, fragment="SwigClassWrapper_f")
324
324
SWIGTYPE
325
325
"type(SwigClassWrapper)"
326
- %typemap(ftype, in="type($&fclassname ), intent(in)", nofortransubroutine=1) SWIGTYPE
327
- "type($&fclassname )"
326
+ %typemap(ftype, in="type($&fortranclassname ), intent(in)", nofortransubroutine=1) SWIGTYPE
327
+ "type($&fortranclassname )"
328
328
329
329
%typemap(in, noblock=1, fragment="SWIG_check_nonnull") SWIGTYPE {
330
- SWIG_check_nonnull(*$input, "$1_ltype", "$&fclassname ", "$decl", return $null);
330
+ SWIG_check_nonnull(*$input, "$1_ltype", "$&fortranclassname ", "$decl", return $null);
331
331
$1 = *(($&1_ltype)($input->cptr));
332
332
}
333
333
@@ -352,8 +352,8 @@ SWIGINTERN void SWIG_assign(SwigClassWrapper* self, SwigClassWrapper other) {
352
352
// Raw pointers act mostly like value types, but they don't have to accept the exact type (polymorphic input, non-polymorphic output). Intent is 'in' because
353
353
// we're not modifying the pointer or memory status.
354
354
%apply SWIGTYPE { SWIGTYPE* };
355
- %typemap(ftype, in="class($fclassname ), intent(in)", nofortransubroutine=1) SWIGTYPE*
356
- "type($fclassname )"
355
+ %typemap(ftype, in="class($fortranclassname ), intent(in)", nofortransubroutine=1) SWIGTYPE*
356
+ "type($fortranclassname )"
357
357
%typemap(in, noblock=1) SWIGTYPE* {
358
358
$1 = ($1_ltype)$input->cptr;
359
359
}
@@ -373,7 +373,7 @@ SWIGINTERN void SWIG_assign(SwigClassWrapper* self, SwigClassWrapper other) {
373
373
// Check for non-null reference inputs
374
374
%apply SWIGTYPE* { SWIGTYPE& };
375
375
%typemap(in, noblock=1, fragment="SWIG_check_nonnull") SWIGTYPE& {
376
- SWIG_check_nonnull(*$input, "$1_type", "$fclassname ", "$decl", return $null);
376
+ SWIG_check_nonnull(*$input, "$1_type", "$fortranclassname ", "$decl", return $null);
377
377
$1 = ($1_ltype)$input->cptr;
378
378
}
379
379
@@ -397,15 +397,15 @@ SWIGINTERN void SWIG_assign(SwigClassWrapper* self, SwigClassWrapper other) {
397
397
398
398
// Check for non-null class input "self"
399
399
%typemap(in, noblock=1, fragment="SWIG_check_nonnull") SWIGTYPE *self {
400
- SWIG_check_nonnull(*$input, "$1_type", "$*fclassname ", "$decl", return $null);
400
+ SWIG_check_nonnull(*$input, "$1_type", "$*fortranclassname ", "$decl", return $null);
401
401
$1 = ($1_ltype)$input->cptr;
402
402
}
403
403
404
404
// On assignment, copy pointer to input wrapper class
405
405
%typemap(imtype, in="type(SwigClassWrapper), intent(inout)", fragment="SwigClassWrapper_f") SWIGTYPE *ASSIGNMENT_SELF
406
406
"type(SwigClassWrapper)"
407
- %typemap(ftype, in="class($fclassname ), intent(inout)", nofortransubroutine=1) SWIGTYPE *ASSIGNMENT_SELF
408
- "type($fclassname )"
407
+ %typemap(ftype, in="class($fortranclassname ), intent(inout)", nofortransubroutine=1) SWIGTYPE *ASSIGNMENT_SELF
408
+ "type($fortranclassname )"
409
409
410
410
// Assignment operates directly on $input, not $1
411
411
%typemap(in) SWIGTYPE *ASSIGNMENT_SELF "(void)sizeof($1);";
@@ -414,8 +414,8 @@ SWIGINTERN void SWIG_assign(SwigClassWrapper* self, SwigClassWrapper other) {
414
414
}
415
415
416
416
// Prevent ambiguous overloads by requiring the RHS to be the exact type
417
- %typemap(ftype, in="type($fclassname ), intent(in)", nofortransubroutine=1) SWIGTYPE &ASSIGNMENT_OTHER
418
- "type($fclassname )"
417
+ %typemap(ftype, in="type($fortranclassname ), intent(in)", nofortransubroutine=1) SWIGTYPE &ASSIGNMENT_OTHER
418
+ "type($fortranclassname )"
419
419
%typemap(in) SWIGTYPE &ASSIGNMENT_OTHER = SWIGTYPE *ASSIGNMENT_SELF;
420
420
421
421
%apply SWIGTYPE *ASSIGNMENT_SELF { SWIGTYPE *DESTRUCTOR_SELF };
0 commit comments