Browse Source

ansi style function args for a function pointer arg of spInitialize()

pre-master-46
rlar 16 years ago
parent
commit
a0b0f550ab
  1. 7
      ChangeLog
  2. 2
      src/include/spmatrix.h
  3. 2
      src/maths/sparse/spbuild.c

7
ChangeLog

@ -1,3 +1,10 @@
2010-07-10 Robert Larice
* src/include/spmatrix.h ,
* src/maths/sparse/spbuild.c :
ansi style function args for a function pointer arg of spInitialize()
NOTE: split personality, user interface talks about `spREAL'
which is internally refered to as `RealNumber'
2010-07-10 Holger Vogt
* com_measure2.c: patch by Bill Swartz from 2010-07-04

2
src/include/spmatrix.h

@ -270,7 +270,7 @@ extern char *spGetInitInfo( spREAL* );
extern int spGetOnes( void *, int, int, int, struct spTemplate* );
extern int spGetQuad( void *, int, int, int, int, struct spTemplate* );
extern int spGetSize( void *, int );
extern int spInitialize( void *, int (*)() );
extern int spInitialize( void *, int (*pInit)(spREAL*, char *InitInfo, int, int Col));
extern void spInstallInitInfo( spREAL*, void * );
extern spREAL spLargestElement( void * );
extern void spMNA_Preorder( void * );

2
src/maths/sparse/spbuild.c

@ -1146,7 +1146,7 @@ spGetInitInfo(RealNumber *pElement)
int
spInitialize(void *eMatrix, int (*pInit)())
spInitialize(void *eMatrix, int (*pInit)(RealNumber*, char *InitInfo, int , int Col))
{
MatrixPtr Matrix = (MatrixPtr)eMatrix;
ElementPtr pElement;

Loading…
Cancel
Save