- public int get_timestamp_range(GossipTimestampFilter this_ptr) {
- int ret = bindings.GossipTimestampFilter_get_timestamp_range(this_ptr.ptr & ~1);
- this.ptrs_to.add(this_ptr);
- return ret;
+ public static GossipTimestampFilter constructor_new(byte[] chain_hash_arg, int first_timestamp_arg, int timestamp_range_arg) {
+ long ret = bindings.GossipTimestampFilter_new(chain_hash_arg, first_timestamp_arg, timestamp_range_arg);
+ GossipTimestampFilter ret_hu_conv = new GossipTimestampFilter(null, ret);
+ ret_hu_conv.ptrs_to.add(ret_hu_conv);
+ return ret_hu_conv;