Skip to content

Commit 1a6baf8

Browse files
committed
- sort namespace and extern
1 parent 39d8206 commit 1a6baf8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/sbml/math/ASTNode.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2378,19 +2378,22 @@ setValue(value, 0);
23782378
// void printMath(unsigned int level = 0);
23792379

23802380
/* change all numbers to real*/
2381+
LIBSBML_EXTERN
23812382
void refactorNumbers();
23822383

23832384
/*
23842385
* simplify the node based on math i.e 1 * x becomes x
23852386
* see inline
23862387
*/
2388+
LIBSBML_EXTERN
23872389
void simplify();
23882390

23892391
/* for plus or times order arguments so we have number + names + functions
23902392
* 3.1 +b + 2 becomes 5.1 + b
23912393
* 2 * 5 becomes 10
23922394
* sin(2+3) + 3.1 + b becomes 3.1 +b + sin(5)
23932395
*/
2396+
LIBSBML_EXTERN
23942397
bool reorderArguments(unsigned int level=0 );
23952398

23962399
/* remove any instances of unary minus
@@ -2419,6 +2422,7 @@ setValue(value, 0);
24192422
* Level 2: b
24202423
* Level 1: a
24212424
*/
2425+
LIBSBML_EXTERN
24222426
void encompassUnaryMinus();
24232427

24242428

@@ -2439,11 +2443,13 @@ setValue(value, 0);
24392443
* Level 1: c
24402444
* Level 1: s
24412445
*/
2446+
LIBSBML_EXTERN
24422447
void createNonBinaryTree();
24432448

24442449
/*
24452450
* change a root node to power ie root(2, x) becomes x^0.5
24462451
*/
2452+
LIBSBML_EXTERN
24472453
void convertRootToPower();
24482454

24492455
protected:
@@ -2564,7 +2570,7 @@ LIBSBML_CPP_NAMESPACE_END
25642570
LIBSBML_CPP_NAMESPACE_BEGIN
25652571
LIBSBML_EXTERN
25662572
void
2567-
printNodeLevels(ASTNodeLevels vector_pairs);
2573+
printNodeLevels(LIBSBML_CPP_NAMESPACE_QUALIFIER ASTNodeLevels vector_pairs);
25682574

25692575

25702576
BEGIN_C_DECLS

0 commit comments

Comments
 (0)