Changeset 276 for trunk/thune/make.c

Show
Ignore:
Timestamp:
09/18/06 03:43:03 (2 years ago)
Author:
krobillard
Message:

Thune - Custom datatypes can now be created. Added raster! to GL.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/thune/make.c

    r274 r276  
    760760        if( (nodeType & (1 << i)) == 0 ) 
    761761            break; 
    762         if( node[ i ] >= UT_COUNT ) 
     762        if( node[ i ] >= UT_BI_COUNT ) 
    763763            break; 
    764764    } 
     
    14391439 
    14401440        default: 
    1441             goto error; 
     1441            if( ur_datatype(res) < UT_BI_COUNT ) 
     1442                goto error; 
     1443 
     1444            ur_thread->env->customDT[ ur_datatype(res) - UT_BI_COUNT ].make( 
     1445                    ur_thread, tos ); 
     1446            return; 
    14421447    } 
    14431448