File: later_api.h

package info (click to toggle)
r-cran-later 1.1.0.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 412 kB
  • sloc: cpp: 1,473; ansic: 1,096; sh: 29; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 393 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _later_later_api_h
#define _later_later_api_h

#include "later.h"

namespace {

  class LaterInitializer {
  public:
    LaterInitializer() {
      // See comment in execLaterNative to learn why we need to do this
      // in a statically initialized object
      later::later(NULL, NULL, 0);
    }
  };
  
  static LaterInitializer init;

} // namespace

#endif // _later_later_api_h