Method: GMEM.AllocStr

Defined in:
lib/vr/sysmod.rb

.AllocStr(mode, text) ⇒ Object



115
116
117
118
119
# File 'lib/vr/sysmod.rb', line 115

def GMEM::AllocStr(mode,text)
  mem = GlobalAlloc.call(mode,text.length+1)
  Set(mem,text,text.size+1)
  mem
end