[Xapian-tickets] [Xapian] #204: Sort out C# and Java bindings to avoid SWIGTYPE (was: Sort out C# bindings to avoid SWIGTYPE_p_*.cs)

Xapian nobody at xapian.org
Sun Sep 6 02:01:02 BST 2020


#204: Sort out C# and Java bindings to avoid SWIGTYPE
----------------------------------+-------------------------------
 Reporter:  Olly Betts            |             Owner:  Olly Betts
     Type:  defect                |            Status:  assigned
 Priority:  normal                |         Milestone:  1.5.0
Component:  Xapian-bindings (C#)  |           Version:  git master
 Severity:  normal                |        Resolution:
 Keywords:                        |        Blocked By:
 Blocking:                        |  Operating System:  All
----------------------------------+-------------------------------
Changes (by Olly Betts):

 * summary:  Sort out C# bindings to avoid SWIGTYPE_p_*.cs => Sort out C#
     and Java bindings to avoid SWIGTYPE


Old description:

> The SWIGTYPE_p_*.cs files are C# wrappers around raw C/C++ types, which
> can't be
> naturally used from C#.  We should adjust the bindings to wrap these
> properly.

New description:

 The SWIGTYPE_p_*.cs files are C# wrappers around raw C/C++ types, which
 can't be
 naturally used from C#.  We should adjust the bindings to wrap these
 properly.

 The same issue affects our Java bindings too.

--
Comment:

 Java has the same issues, and I've addressed `const std::string*` wrapping
 there in the same way as for C++ in
 c77630eee1da068c7a6a2009011b7d10e2b8a999.
-- 
Ticket URL: <https://trac.xapian.org/ticket/204#comment:8>
Xapian <https://xapian.org/>
Xapian


More information about the Xapian-tickets mailing list