CCF
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Variables
historical.cpp File Reference
#include "ccf/js/extensions/ccf/historical.h"
#include "ccf/ds/hex.h"
#include "ccf/historical_queries_interface.h"
#include "ccf/js/core/context.h"
#include "js/checks.h"
#include "js/extensions/ccf/kv_helpers.h"
#include "kv/untyped_map.h"

Classes

struct  ccf::js::extensions::HistoricalExtension::Impl
 
struct  ccf::js::extensions::HistoricalExtension::Impl::HistoricalHandle
 

Namespaces

namespace  ccf
 
namespace  ccf::js
 
namespace  ccf::js::extensions
 

Macros

#define WRAPPED_CHECK_EXC(val)
 
#define WRAPPED_CHECK_SET(val)
 

Variables

JSClassExoticMethods ccf::js::kv_historical_exotic_methods
 
JSClassDef ccf::js::kv_historical_class_def
 

Macro Definition Documentation

◆ WRAPPED_CHECK_EXC

#define WRAPPED_CHECK_EXC (   val)
Value:
do \
{ \
if ((val).is_exception()) \
{ \
return val; \
} \
} while (0)

◆ WRAPPED_CHECK_SET

#define WRAPPED_CHECK_SET (   val)
Value:
do \
{ \
if ((val) != 1) \
{ \
return ctx.wrap(ccf::js::core::constants::Exception); \
} \
} while (0)