- opengl demos from ypsilon (gears and glut-demo) now work under

ikarus's ffi using a compatibility layer.
This commit is contained in:
Abdulaziz Ghuloum
2008-09-23 07:48:16 -04:00
parent abe97b4053
commit 61ecbe0dd1
9 changed files with 5117 additions and 4 deletions
+1
View File
@@ -235,6 +235,7 @@ extract_num(ikptr x) {
if (is_fixnum(x)) {
return unfix(x);
} else {
if (x == void_object) { return 0; }
if(bnfst_negative(ref(x, -vector_tag))){
return (long)(-ref(x, wordsize-vector_tag));
} else {