- public void set_announcement_message(ChannelInfo this_ptr, ChannelAnnouncement val) {
- bindings.ChannelInfo_set_announcement_message(this_ptr == null ? 0 : this_ptr.ptr & ~1, val == null ? 0 : val.ptr & ~1);
- this.ptrs_to.add(this_ptr);
+ public ChannelAnnouncement get_announcement_message() {
+ long ret = bindings.ChannelInfo_get_announcement_message(this.ptr);
+ ChannelAnnouncement ret_hu_conv = new ChannelAnnouncement(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;
+ }
+
+ public void set_announcement_message(ChannelAnnouncement val) {
+ bindings.ChannelInfo_set_announcement_message(this.ptr, val == null ? 0 : val.ptr & ~1);