-static uc_value_t *wpa_ucode_prototype_clone(uc_value_t *uval)
-{
- uc_value_t *proto, *proto_new;
-
- proto = ucv_prototype_get(uval);
- proto_new = ucv_object_new(&vm);
-
- ucv_object_foreach(proto, key, val)
- ucv_object_add(proto_new, key, ucv_get(val));
- ucv_prototype_set(uval, ucv_get(proto));
-
- return proto;
-}
-
-void wpa_ucode_registry_add(uc_value_t *reg, uc_value_t *val, int *idx)