de最近作ったもの def malloc(n) var w[n] return w end def realloc(v,n) var w[n] if len(v) then copy w,v,0,min(n,len(v)) end if return w end 使い方は c の同名関数に準拠