search for: loadset

Displaying 3 results from an estimated 3 matches for "loadset".

2003 Oct 04
3
More questions about R extension programming
...d like to utilize these modules in R rather than writing R code to > read in these files (and also to learn about R extensions). Thanks for the pointers to the above question. I have a few more! 1) I would like my C function to be passed a character string. Thus I define the function as SEXP _loadsets(SEXP filename) { FILE *f; PROTECT(filename = AS_CHARACTER(filename)); f = fopen(filename,"r"); UNPROTECT(1); ..... ..... } However compiling it gives me: loadset.c: In function `_loadsets': loadset.c:25: warning: passing arg 1 of `fopen' from incompatible point...
2010 Jun 12
1
Problem launching Cursed mountain
Hello I installed the game "Cursed Mountain", with no problems, at the end of the installation it asked for launching the game, and the game ran successfully. Later I wanted to launch it again, but now it gets stuck after the logo intro. The terminal output is: Code: --------------------------------------------------- KTM --------------------------------------------------- Version:
2000 Sep 27
0
FreeBSD Security Advisory: FreeBSD-SA-00:53.catopen
...0) return(NULL); + if (cat == NULL || setId <= 0) return(NULL); lo = 0; if (setId - 1 < cat->numSets) { @@ -212,8 +222,8 @@ if (hi - lo == 1) cur += dir; else cur += ((hi - lo) / 2) * dir; } - if (set->invalid) - (void) loadSet(cat, set); + if (set->invalid && loadSet(cat, set) <= 0) + return(NULL); return(set); } @@ -225,7 +235,7 @@ MCMsgT *msg; long lo, hi, cur, dir; - if (!set || set->invalid || msgId <= 0) return(NULL); + if (...