forked from joshuaulrich/TTR
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ttr.h to use xts' naCheck() C function
Using '#include <xtsAPI.h>' in multiple C files causes multiple definitions of each function. Access xts' naCheck() in the same way xts accesses zoo's zoo_lag() and zoo_coredata() C functions. Update aroon_max() C function to use new access path.
- Loading branch information
1 parent
0a037eb
commit 2a9bca6
Showing
3 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#ifndef _TTR_H_ | ||
#define _TTR_H_ | ||
|
||
#include <Rinternals.h> | ||
|
||
/* imported from xts */ | ||
SEXP (*xts_na_check)(SEXP, SEXP); | ||
#endif |