Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
C bindings to facilitate static FFI bindings (elalish#292)
* + c bindings to facilitate static FFI bindings Squashed commit of the following: commit a05f9b0 Author: Geoff deRosenroll <[email protected]> Date: Sat Dec 10 16:21:47 2022 -0800 Add flag (default on) for python bindings Signed-off-by: Geoff deRosenroll <[email protected]> commit ce5b601 Author: Geoff deRosenroll <[email protected]> Date: Fri Dec 9 23:45:29 2022 -0800 conv function naming consistency commit 1b50cf0 Author: Geoff deRosenroll <[email protected]> Date: Tue Dec 6 17:42:18 2022 -0800 manifold_level_set_seq to C API (force sequential) commit 77e06da Author: Geoff deRosenroll <[email protected]> Date: Tue Dec 6 17:24:10 2022 -0800 Use an optional executionpolicy param in LevelSet This allows bindings to avoid breaking their runtime locks while passing in function pointers without introducing another compile flag. commit 12c62b1 Author: Geoff deRosenroll <[email protected]> Date: Mon Dec 5 15:09:41 2022 -0800 Better section comments commit 24f1d51 Author: Geoff deRosenroll <[email protected]> Date: Fri Dec 2 12:01:50 2022 -0800 Add missing management functions for Components commit a7d5aae Author: Geoff deRosenroll <[email protected]> Date: Thu Dec 1 23:45:45 2022 -0800 Break Decompose up to avoid repetition in C binds commit a650a15 Author: Geoff deRosenroll <[email protected]> Date: Sun Nov 27 22:41:38 2022 -0800 Add manifold_get_properties commit 97a5839 Author: Geoff deRosenroll <[email protected]> Date: Sat Nov 26 22:53:42 2022 -0800 circular segment functions corrected to static commit c9c1ca7 Author: Geoff deRosenroll <[email protected]> Date: Thu Nov 24 21:19:11 2022 -0800 polygons from dbl ptr of SimplePolygon commit 8e5390a Author: Geoff deRosenroll <[email protected]> Date: Wed Nov 23 12:16:44 2022 -0800 compose and decompose switched to double ptrs commit 45c78c3 Author: Geoff deRosenroll <[email protected]> Date: Tue Nov 22 11:40:32 2022 -0800 Add manifold copy and empty constructors commit cfc06fe Author: Geoff deRosenroll <[email protected]> Date: Mon Nov 21 15:03:00 2022 -0800 Add MANIFOLD_SEQ_SDF to avoid runtime lock commit e0f9d09 Author: Geoff deRosenroll <[email protected]> Date: Sun Nov 20 16:56:50 2022 -0800 Add missing export related contructors. commit 0cbaa4a Author: Geoff deRosenroll <[email protected]> Date: Sun Nov 20 16:03:43 2022 -0800 Add separate destruct functions commit fd6c1c2 Author: Geoff deRosenroll <[email protected]> Date: Sat Nov 19 17:29:12 2022 -0800 More consistent array handling commit ec1eef8 Author: Geoff deRosenroll <[email protected]> Date: Sat Nov 19 16:52:07 2022 -0800 Replace array args with pointers commit 9079cbf Author: Geoff deRosenroll <[email protected]> Date: Sat Nov 19 15:00:47 2022 -0800 Revert "Switch back to funptr struct args for simplicity" This reverts commit dc78841. commit 62c1078 Author: Geoff deRosenroll <[email protected]> Date: Sat Nov 19 14:52:37 2022 -0800 Switch back to funptr struct args for simplicity commit d30992d Author: Geoff deRosenroll <[email protected]> Date: Sat Nov 19 14:06:12 2022 -0800 Avoid needing to pass in vec struct for funptrs commit 2ba7bec Author: Geoff deRosenroll <[email protected]> Date: Sat Nov 19 00:32:09 2022 -0800 Use template spec to avoid fun ptr to cuda commit 1faf58b Author: Geoff deRosenroll <[email protected]> Date: Fri Nov 18 21:54:56 2022 -0800 Make fPIC more conditional. commit 6215f89 Author: Geoff deRosenroll <[email protected]> Date: Fri Nov 18 21:35:09 2022 -0800 Avoid passing dynamic lambda to GPU commit 30fa3dc Author: Geoff deRosenroll <[email protected]> Date: Fri Nov 18 18:02:04 2022 -0800 note and temporary hack RE cuda compilation commit bb4dfe9 Author: Geoff deRosenroll <[email protected]> Date: Fri Nov 18 17:21:25 2022 -0800 Set graphlite library to OBJECT commit e803da5 Author: Geoff deRosenroll <[email protected]> Date: Fri Nov 18 16:04:28 2022 -0800 Convert sublibraries to OBJECT to avoid archives commit d0e9d17 Author: Geoff deRosenroll <[email protected]> Date: Fri Nov 18 15:28:15 2022 -0800 Add missing polygon size and deletion funcs commit 7db7284 Author: Geoff deRosenroll <[email protected]> Date: Tue Nov 15 22:26:17 2022 -0800 Remove static flag (control with shared flag) commit 5ae33f3 Author: Geoff deRosenroll <[email protected]> Date: Tue Nov 15 22:16:27 2022 -0800 Add options to avoid python bindings commit 4181a58 Author: Geoff deRosenroll <[email protected]> Date: Mon Nov 14 22:02:10 2022 -0800 Rename to manifoldc commit c4b14d6 Author: Geoff deRosenroll <[email protected]> Date: Mon Nov 14 21:51:45 2022 -0800 Cleanup unused typedefs and simplify names commit a282c90 Author: Geoff deRosenroll <[email protected]> Date: Mon Nov 14 21:23:07 2022 -0800 Placeholder (terrible) decompose binding commit 9409e81 Author: Geoff deRosenroll <[email protected]> Date: Mon Nov 14 20:37:02 2022 -0800 Turn on export in CLI instead commit 9dad24b Author: Geoff deRosenroll <[email protected]> Date: Mon Nov 14 20:33:17 2022 -0800 "Rebased" WIP cbindings * Turn on -fPIC whenever shared libs are being built * Add parens to disambiguate sdf policy logic * Bump public std from 14 to 17 * Add binding flags to workflow builds * Add export when building cbindings * Bump ubuntu version (PBR material deprecation) * Select no-param overload of Decompose * Add missing const to decompose sig overload * Re-organize * variable capitalization consistency * Drop to std14 to test for regression fix * Attempted old libassimp compatibility hack * Rebump to std_17 * Temporarily disabled TODO: investigate why this is failing on Mac, but not other backends. * Remove unused tuple include * Remove uneccesary auto-includes * Properly disable Boolean_Close * rename discrete -> numComponents + early return * Rename discrete -> numComponents * Rename conv.hh -> conv.h * Prune auto-includes * Note on level_set vs level_set_seq * Set export on for c-bindings * Adding C binding tests. * Separate and don't require CBIND build/test * Remove bad flag * Take const char ptr for filename * Remove testc executable * Add tests from removed testc
- Loading branch information