static char *pv_getblock( HSPEXINFO *hei, PVal *pv, int offset, int *size ) { PDAT *p; HspVarProc *varproc; pv->offset=offset; varproc = hei->HspFunc_getproc( pv->flag ); p = varproc->GetPtr( pv ); varproc->GetBlockSize( pv, p, size ); return (char *)p; }
static void *Hsp3GetBlockSize( HSPEXINFO *hei, PVal *pv, APTR ap, int *size ) { // (HSP3用) // pv,apからメモリブロックを取得する // PDAT *pd; HspVarProc *proc; proc = hei->HspFunc_getproc( pv->flag ); pv->offset = ap; pd = proc->GetPtr( pv ); return proc->GetBlockSize( pv,pd,size ); }