1 #ifndef VIENNA_RNA_PACKAGE_PKPLEX_DEPRECATED_H
2 #define VIENNA_RNA_PACKAGE_PKPLEX_DEPRECATED_H
3 
4 /**
5  *  @file ViennaRNA/utils.h
6  *  @brief      Use ViennaRNA/utils/basic.h instead
7  *  @deprecated Use ViennaRNA/utils/basic.h instead
8  */
9 
10 #ifndef VRNA_DISABLE_BACKWARD_COMPATIBILITY
11 # ifdef VRNA_WARN_DEPRECATED
12 #warning "Including deprecated header file <ViennaRNA/PKplex.h>! Use <ViennaRNA/pk_plex.h> instead!"
13 # endif
14 
15 #ifdef VRNA_WARN_DEPRECATED
16 # if defined(__clang__)
17 #  define DEPRECATED(func, msg) func __attribute__ ((deprecated("", msg)))
18 # elif defined(__GNUC__)
19 #  define DEPRECATED(func, msg) func __attribute__ ((deprecated(msg)))
20 # else
21 #  define DEPRECATED(func, msg) func
22 # endif
23 #else
24 # define DEPRECATED(func, msg) func
25 #endif
26 
27 #include <ViennaRNA/datastructures/basic.h>
28 
29 
30 DEPRECATED(dupVar *
31 PKLduplexfold_XS(const char *s1,
32                  const int  **access_s1,
33                  int  penalty,
34                  int  max_interaction_length,
35                  int  delta),
36           "Use vrna_pk_plex() instead!");
37 
38 #include <ViennaRNA/pk_plex.h>
39 
40 #endif
41 
42 #endif
43