R/zzz.R

Defines functions .onLoad

##' @useDynLib thor, .registration = TRUE
##' @importFrom R6 R6Class
NULL


## enum dict of cursor operations
cursor_op <- new.env(parent = emptyenv())


## Global cache of write transactions used by the environment
write_txns <- new.env(parent = emptyenv())


.onLoad <- function(...) {
  list_to_fixed_env(.Call(Cmdb_cursor_op), cursor_op) # nocov
}

Try the thor package in your browser

Any scripts or data that you put into this service are public.

thor documentation built on Feb. 16, 2023, 9:37 p.m.