Mercurial > pub > dyncall > bindings
annotate R/scratch/bugfix.R @ 55:2e8a56976bf8
fixed missing () making branch always be entered
author | Tassilo Philipp |
---|---|
date | Tue, 02 Feb 2021 20:56:54 +0100 |
parents | 0cfcc391201f |
children |
rev | line source |
---|---|
0 | 1 |
2 | |
3 x <- rdyncall:::makeNamespace("bla") | |
4 sys.source("/lab/eclipse/dyncall/rdyncall/scratch/script.R", envir=x) | |
5 | |
6 quote({ | |
7 parseStructInfos(" | |
8 SDL_keysym{CiiS}scancode sym mod unicode ; | |
9 SDL_KeyboardEvent{CCC<SDL_keysym>}type which state keysym ; | |
10 ", envir=x) | |
11 }) | |
12 | |
13 f <- function() | |
14 { | |
15 parent.frame() | |
16 } | |
17 | |
18 g <- function(envir=parent.frame()) | |
19 { | |
20 envir | |
21 } | |
22 | |
23 f <- function(envir=parent.frame()) | |
24 { | |
25 | |
26 } |