public void setData(Object o) { mref = new WeakReference(o); }
public static void weakptr_data_set(weakptr p, Object o) { p.setData(o); }