1. petsc
  2. PETSc
  3. petsc

Commits

Satish Balay  committed 56fd8b7

fix __FUNCT__ and manpage to match PetscFunctionListFind(),PetscObjectQueryFunction() change to macro

  • Participants
  • Parent commits 8a50c55
  • Branches jed/cray-externc

Comments (0)

Files changed (2)

File src/sys/dll/reg.c

View file
   PetscFunctionReturn(0);
 }
 
-#undef __FUNCT__
-#define __FUNCT__ "PetscFunctionListFind"
-/*@C
+/*MC
     PetscFunctionListFind - Given a name registered to a function
 
+    Synopsis:
+    #include "petscsys.h"
+    PetscErrorCode PetscFunctionListFind(PetscFunctionList fl,const char name[],void (**r)(void))
+
     Input Parameters:
 +   fl   - pointer to list
 -   name - either the name registered for the function or the name of the function
     Level: developer
 
 .seealso: PetscFunctionListAddDynamic(), PetscFunctionList
-@*/
+M*/
+
+#undef __FUNCT__
+#define __FUNCT__ "PetscFunctionListFind_Private"
 PETSC_EXTERN PetscErrorCode PetscFunctionListFind_Private(PetscFunctionList fl,const char name[],void (**r)(void))
 {
   PetscFunctionList entry = fl;

File src/sys/objects/inherit.c

View file
   PetscFunctionReturn(0);
 }
 
-#undef __FUNCT__
-#define __FUNCT__ "PetscObjectQueryFunction"
-/*@C
+/*MC
    PetscObjectQueryFunction - Gets a function associated with a given object.
 
+    Synopsis:
+    #include "petscsys.h"
+    PetscErrorCode PetscObjectQueryFunction(PetscObject obj,const char name[],void (**ptr)(void))
+
    Logically Collective on PetscObject
 
    Input Parameters:
    Concepts: querying objects
 
 .seealso: PetscObjectComposeFunction()
-@*/
+M*/
+
+#undef __FUNCT__
+#define __FUNCT__ "PetscObjectQueryFunction_Private"
 PETSC_EXTERN PetscErrorCode PetscObjectQueryFunction_Private(PetscObject obj,const char name[],void (**ptr)(void))
 {
   PetscErrorCode ierr;