Git Product home page Git Product logo

Comments (3)

ojwb avatar ojwb commented on July 17, 2024

There's a sentence about each in the output of swig -python -help, and at least some of them are documented in CHANGES (which isn't ideal but beats not being documented anywhere).

from swig.

vadz avatar vadz commented on July 17, 2024

FWIW I used to refer to #1340 all the time when I was using Python backend as this was the best source of documentation (at least a couple of years ago, maybe things have changed since then).

from swig.

ojwb avatar ojwb commented on July 17, 2024

That table there seems slightly terser than the descriptions in swig -python -help (which are in the manual too). The table also includes a lot of options that have since been removed.

I do wonder if some of these options are no longer helpful, as most were added a long time ago (around 2005-2006) and Python has evolved a lot since. We had a major rationalisation in 2018 which landed in SWIG 4.0.0 but it doesn't look like we actually profiled the remaining options which are intended to be optimisations.

I'd argue these options are underdocumented rather than undocumented, but there are related features which appear to actually be undocumented - e.g. the effect of -extranative can be obtained via %module(extranative="1") but I only know that from seeing that's how this feature is tested in the testsuite - being able to specify this via %module attributes doesn't appear to be mentioned in ANY documentation, not even CHANGES. Looking at where this module option is handled, there's also at least castmode and nodirprot modules options which appear to be totally undocumented (there's also a dirprot module option which only seems to be mentioned in CHANGES).

from swig.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.