annotate R/rdyncall/R/callback.R @ 62:4a9f6c7c09c1
default tip
- fix inccorect overflow errors for int (and long on LLP64 systems)
author |
Tassilo Philipp |
date |
Sat, 18 May 2024 15:33:54 +0200 |
parents |
0cfcc391201f |
children |
|
rev |
line source |
0
|
1 # Package: rdyncall
|
|
2 # File: R/callback.R
|
|
3 # Description: R Callbacks
|
|
4
|
|
5 new.callback <- function(signature, fun, envir=new.env())
|
|
6 {
|
|
7 stopifnot( is.character(signature) )
|
|
8 stopifnot( is.function(fun) )
|
|
9 stopifnot( is.environment(envir) )
|
|
10 .Call("new_callback", signature, fun, envir, PACKAGE="rdyncall")
|
|
11 }
|