Displaying 2 results from an estimated 2 matches for "myinit".
Did you mean:
mkinit
2005 Aug 17
2
About R variable references
...e code is provided for illustration purposes only
and I did not try to compile it.
Best regards,
Markku Mielityinen
# C CODE
#####################################################################
SEXP myrho = R_GlobalEnv;
SEXP myvariable = R_NilValue;
SEXP myfunction = R_NilValue;
SEXP myinit(SEXP var, SEXP func) {
myvariable = var;
myfunction = func;
return R_NilValue;
}
SEXP myexec(/* probably has some parameters that are omitted in this
example */) {
int state;
SEXP thecall;
/* do some work, then set the state and call a callback function
if necessary */
PROTECT(myvariabl...
2009 May 15
1
[PATCH server] First round of (largely) cosmetic changes to flexchart.
...lements/XAxisLabel.as | 2 +
8 files changed, 231 insertions(+), 61 deletions(-)
diff --git a/src/flexchart/flexchart.mxml b/src/flexchart/flexchart.mxml
index 7a86cd9..d4d097b 100644
--- a/src/flexchart/flexchart.mxml
+++ b/src/flexchart/flexchart.mxml
@@ -22,6 +22,9 @@
private function myInit():void {
+ Constants.setWidth(this.stage.stageWidth);
+ Constants.setHeight(this.stage.stageHeight);
+
var bus:ApplicationBus = ApplicationBus.instance();
mainChart.height = Constants.height;
mainChart.width = Constants.width;
@@ -57,6 +60,7 @@
}
private...