Navigation Menu

Skip to content

Commit

Permalink
Manually add 2 slatec function prototypes to the header file
Browse files Browse the repository at this point in the history
Most prototypes get inserted into SlatecProtos.h by defslatec.
But polfit_ and dpolft_ do not, so they need to be added manually.
  • Loading branch information
d-lamb committed Aug 29, 2016
1 parent 30b6dec commit 3bf3d84
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Lib/Slatec/slatec.pd
Expand Up @@ -1664,6 +1664,9 @@ pp_def('polfit',
This version handles bad values appropriately',
);

#these two need to be done manually because we don't use defslatec for them
print PROTOS "extern int polfit_ ();\nextern int dpolft_ ();\n";

close( PROTOS );

##################################################################
Expand Down

0 comments on commit 3bf3d84

Please sign in to comment.