Mercurial > pub > Jint1
comparison Jint.Runtime/VM/Box.cs @ 6:a6329b092499
Added scopes, function builder
author | cin |
---|---|
date | Wed, 30 Oct 2013 17:38:35 +0400 |
parents | cb13da6e3349 |
children |
comparison
equal
deleted
inserted
replaced
5:cb13da6e3349 | 6:a6329b092499 |
---|---|
66 } | 66 } |
67 | 67 |
68 public override T2 Convert<T2>() { | 68 public override T2 Convert<T2>() { |
69 return (T2)TypeConverter.ConvertTo(holdingValue, typeof(T2)); | 69 return (T2)TypeConverter.ConvertTo(holdingValue, typeof(T2)); |
70 } | 70 } |
71 | |
72 public override void CopyTo (Frame frame, int dest) | |
73 { | |
74 frame.SetValue (dest, holdingValue); | |
75 } | |
71 } | 76 } |
72 } | 77 } |