Mercurial > pub > dyncall > bindings
annotate R/scratch/bugfix.R @ 29:6cc2b7fc7ea2
bigger pydc update:
- cleanups and refactoring
- python 2 fixes in var conversions (especially w/ respect to int vs long)
- fix to pydc.free() which didn't work at all
- fix to return python bool as actual bool
- test lib covering all conversions (manual verification, though :-/)
author | Tassilo Philipp |
---|---|
date | Wed, 08 Apr 2020 22:17:43 +0200 |
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 } |