Commit graph

496 commits

Author SHA1 Message Date
Joshua Suskalo
8ac03cc961 Add a docstring to the main ns 2021-09-25 13:24:06 -05:00
Joshua Suskalo
23929231e2 Add section for unwrapped native handles 2021-09-25 13:14:08 -05:00
Joshua Suskalo
7d970a177f Add function for copying the data from one segment to another 2021-09-25 13:12:21 -05:00
Joshua Suskalo
364af931c5 Add section about unions 2021-09-25 12:53:02 -05:00
Joshua Suskalo
381ca1e636 Add section on serialization and deserialization 2021-09-25 12:42:11 -05:00
Joshua Suskalo
3c3f3a7415 Add todo for unions 2021-09-25 12:42:02 -05:00
Joshua Suskalo
415c842af1 Move dispatch for unions into the kwargs 2021-09-25 12:27:40 -05:00
Joshua Suskalo
7ead50641b Fill in section on scopes 2021-09-25 12:05:48 -05:00
Joshua Suskalo
a75c1a9c0e Fill in section on complex wrappers 2021-09-25 10:36:43 -05:00
Joshua Suskalo
079da412b8 Add subsection for scopes 2021-09-25 10:32:03 -05:00
Joshua Suskalo
ba0d085a25 Fill out sectoin on global variables 2021-09-25 09:42:45 -05:00
Joshua Suskalo
739092ade6 Add section describing cfn function 2021-09-25 09:31:57 -05:00
Joshua Suskalo
ba7b5bc4aa Add ffi prefix in varargs 2021-09-25 09:30:05 -05:00
Joshua Suskalo
e02a60b331 Change defcstruct to defalias in the readme 2021-09-25 09:29:24 -05:00
Joshua Suskalo
2aa450ae6b Use defalias in the tests 2021-09-25 09:19:43 -05:00
Joshua Suskalo
51ab28b765 Fill in section on variadic functions 2021-09-25 08:45:45 -05:00
Joshua Suskalo
65848c72eb Add function for making a varargs cfn factory with serde wrapper 2021-09-25 08:45:45 -05:00
Joshua Suskalo
2569b01eea Add subsection headings 2021-09-25 08:45:45 -05:00
Joshua Suskalo
028ebea5b8 Add section about other compound types 2021-09-25 08:24:04 -05:00
Joshua Suskalo
2ee82df565 Fix incorrect type in the typealias example 2021-09-25 08:23:37 -05:00
Joshua Suskalo
b2cd8a4a95 Create initial readme
Work is still needed on documenting creating your own serdes
2021-09-24 14:48:27 -05:00
Joshua Suskalo
f7c9796134 Add style/indent meta to macros 2021-09-24 14:23:37 -05:00
Joshua Suskalo
b6fbd3eccb Replace defstruct style macros with a defalias 2021-09-24 12:29:56 -05:00
Joshua Suskalo
bb4c9d89f2 Add a macro for constructing union type aliases 2021-09-24 10:50:41 -05:00
Joshua Suskalo
3ae1d6840f Remove the docstring from defcstruct 2021-09-24 10:25:29 -05:00
Joshua Suskalo
8889da56b2 Rename defstruct to defcstruct 2021-09-24 10:00:10 -05:00
Joshua Suskalo
0cc650103c Make the default for function serdes be to serde the up/downcall 2021-09-23 16:23:13 -05:00
Joshua Suskalo
ee34eb6be0 Add description of basic features to changelog 2021-09-23 15:02:02 -05:00
Joshua Suskalo
83bfe879c5 Remove a todo after reconsidering 2021-09-23 14:54:14 -05:00
Joshua Suskalo
8088633b5b Remove map which is no longer used in implementation 2021-09-23 14:31:09 -05:00
Joshua Suskalo
af3c1357d6 Add docstrings to private functions and data 2021-09-23 14:29:13 -05:00
Joshua Suskalo
704c8710c5 Fix docstring of freset! and fswap! 2021-09-23 14:25:24 -05:00
Joshua Suskalo
7b21325365 Add upcall test 2021-09-23 13:29:12 -05:00
Joshua Suskalo
3ce919e5a1 Fix broken bytecode in upcalls 2021-09-23 13:29:00 -05:00
Joshua Suskalo
6be2515540 Ensure the clojure code is on the classpath correctly 2021-09-23 13:22:13 -05:00
Joshua Suskalo
f76b2edae4 Add todo for nullptrs 2021-09-23 13:12:47 -05:00
Joshua Suskalo
c61e60681b Add tests for some types 2021-09-23 12:29:48 -05:00
Joshua Suskalo
ebe36e199c Update struct definition macro for conformed args 2021-09-23 12:28:29 -05:00
Joshua Suskalo
8ea6c27b38 Ensure ::type spec has its own sequence 2021-09-23 12:27:22 -05:00
Joshua Suskalo
3f6203b5d3 Fix incorrect serdes around upcalls 2021-09-23 12:26:57 -05:00
Joshua Suskalo
284b76255a Fix indentation of upcall-class 2021-09-23 12:26:40 -05:00
Joshua Suskalo
f7f8e44a80 Change long type hints to casts 2021-09-23 12:25:59 -05:00
Joshua Suskalo
fc3b0a96a5 Add support for returning non-primitive types via segment allocators 2021-09-23 12:24:38 -05:00
Joshua Suskalo
d67d539285 Add a function for constructing a fully wrapped c function 2021-09-23 09:36:43 -05:00
Joshua Suskalo
eeee025303 Add a very basic struct definition macro 2021-09-23 09:33:07 -05:00
Joshua Suskalo
7bd9e9b653 Remove extraneous bits 2021-09-23 08:51:59 -05:00
Joshua Suskalo
e00e62f996 Ensure that primitive values are cast to the correct types in serialization 2021-09-23 08:30:11 -05:00
Joshua Suskalo
0f227ac6f8 Add a function to add primitives in the test library 2021-09-23 08:29:52 -05:00
Joshua Suskalo
1fe9d2cb02 Move library loading interop to a java class 2021-09-23 08:15:16 -05:00
Joshua Suskalo
ad2c3d3606 Create first basic test 2021-09-22 18:23:10 -05:00