Joshua Suskalo
|
98c59ea936
|
Correct the docstring of ensure-sybmol
|
2022-07-07 11:03:51 -05:00 |
|
Joshua Suskalo
|
db242e1445
|
Finish removing references to long-long
|
2022-07-07 11:03:26 -05:00 |
|
Joshua Suskalo
|
b10c459bf7
|
Update ffi namespace for jdk 18
|
2022-04-15 14:07:02 -05:00 |
|
Joshua Suskalo
|
4037040c4b
|
Update mem namespace to jdk18
|
2022-04-15 14:07:02 -05:00 |
|
Joshua Suskalo
|
90c125fb62
|
Fix bug where pointer types were not deserialized in wrapper
|
2022-01-19 11:34:57 -06:00 |
|
Joshua Suskalo
|
f7e50630cc
|
Fix bug where non-native endian values were needlessly serialized
|
2022-01-19 11:19:12 -06:00 |
|
Joshua Suskalo
|
3e63230c1f
|
type hint size and alignment constants
|
2022-01-19 11:00:57 -06:00 |
|
Joshua Suskalo
|
7ec2cd1575
|
Add size and alignment constants for primitives
|
2022-01-19 10:56:46 -06:00 |
|
Joshua Suskalo
|
5c560e684d
|
Add convenience functions for reading and writing addresses
|
2022-01-18 15:39:49 -06:00 |
|
Joshua Suskalo
|
7c62207613
|
Allow non-native byte orders on primitives
|
2022-01-18 14:25:57 -06:00 |
|
Joshua Suskalo
|
104db6b8fd
|
Add type hints to layout constants
|
2022-01-18 14:25:57 -06:00 |
|
Joshua Suskalo
|
6ba905e6bf
|
Update primitive? to be a function
|
2022-01-18 14:25:57 -06:00 |
|
Joshua Suskalo
|
634f371144
|
Throw an exception on testing invalid type objects
|
2022-01-18 14:25:57 -06:00 |
|
Joshua Suskalo
|
ded50d7a29
|
Update (de)serialization multimethods to use new prim functions
|
2022-01-18 14:25:57 -06:00 |
|
Joshua Suskalo
|
cf529bbd3d
|
Add functions for reading and writing primitives
|
2022-01-18 14:25:57 -06:00 |
|
Joshua Suskalo
|
2cfa0ed623
|
Add docstrings to layout defs
|
2022-01-18 13:38:48 -06:00 |
|
Joshua Suskalo
|
e8b3c8e2b2
|
Add type hints to most utility functions
|
2022-01-18 13:38:32 -06:00 |
|
Joshua Suskalo
|
b029a41f6a
|
Update type hinting for alloc-instance based on size-of
|
2022-01-18 13:28:43 -06:00 |
|
Joshua Suskalo
|
b960c01bb3
|
Add support for layouts being passed to size-of and align-of
|
2022-01-18 13:28:00 -06:00 |
|
Joshua Suskalo
|
7350a5df1c
|
Use layout primitives in c-layout multimethod
|
2022-01-18 13:27:22 -06:00 |
|
Joshua Suskalo
|
55d770cc34
|
Add layout constants for c-style primitive layouts
|
2022-01-18 13:26:35 -06:00 |
|
Joshua Suskalo
|
faca63b50c
|
Add constants for byte orders
|
2022-01-18 13:25:56 -06:00 |
|
Joshua Suskalo
|
3709aab143
|
Merge branch 'feature/c-layout' into develop
|
2022-01-10 14:55:59 -06:00 |
|
Joshua Suskalo
|
900112b6e4
|
Fix bug where characters were read as java characters
|
2022-01-10 14:38:23 -06:00 |
|
Joshua Suskalo
|
da12b26e3c
|
Fix bug with incorrect padding size
|
2022-01-10 14:06:34 -06:00 |
|
Joshua Suskalo
|
49f9e60b11
|
Allow expressions that evaluate to types in defalias
|
2022-01-10 13:34:58 -06:00 |
|
Joshua Suskalo
|
95856cb4f3
|
Add with-c-layout function
|
2022-01-10 13:31:27 -06:00 |
|
Joshua Suskalo
|
579393f830
|
Add align-of
|
2022-01-10 13:30:01 -06:00 |
|
blak3mill3r
|
b21a5db27e
|
fix: default to an aload instruction for upcall
this allows non-primitive types
prior to this commit the library would generate invalid bytecode with
a `nil` instruction
|
2021-10-25 03:05:14 +00:00 |
|
Joshua Suskalo
|
fa4e4ebb57
|
Fix docstring in coffi.ffi
|
2021-10-16 10:19:27 -05:00 |
|
Joshua Suskalo
|
a1ad988aad
|
Fix incorrect argument loading in upcall stubs
|
2021-10-15 22:13:45 -05:00 |
|
Joshua Suskalo
|
14d38e3b8a
|
Fix some indentation
|
2021-10-15 08:31:32 -05:00 |
|
Joshua Suskalo
|
4f0d151c7a
|
Fix crash when returning void in an upcall
|
2021-10-14 19:22:30 -05:00 |
|
Joshua Suskalo
|
e760a320a7
|
Rewrite the inline expansion macro
|
2021-10-14 18:25:06 -05:00 |
|
Joshua Suskalo
|
9cc83e7d1a
|
Fix bug with inline expansion with no arguments
|
2021-10-14 13:05:51 -05:00 |
|
Joshua Suskalo
|
5fa1f157d3
|
Fix broken defcfn with native-sym
|
2021-10-13 15:51:49 -05:00 |
|
Joshua Suskalo
|
a620752f2c
|
Ensure that the downcalls in the inline expansion are evaluated correctly
|
2021-10-13 15:28:34 -05:00 |
|
Joshua Suskalo
|
7975adbd94
|
Add caveat in primitive-type about evaluated arguments
|
2021-10-13 13:51:13 -05:00 |
|
Joshua Suskalo
|
b1133811a0
|
Ensure there's no double-evaluation of the return types
|
2021-10-13 13:46:03 -05:00 |
|
Joshua Suskalo
|
6f28994526
|
Add inline function for make-serde-wrapper
|
2021-10-13 13:15:35 -05:00 |
|
Joshua Suskalo
|
868c843875
|
Add perdicate for primitive types
|
2021-10-13 09:57:23 -05:00 |
|
Joshua Suskalo
|
bcc6b29e9e
|
Remove unused import
|
2021-10-11 11:21:02 -05:00 |
|
Joshua Suskalo
|
d3050c34ff
|
Move arg and ret types into the cfn call in defcfn
This is in preparation for an optimization in cfn with constant arg and ret
types.
|
2021-10-11 11:19:13 -05:00 |
|
Joshua Suskalo
|
15c190572f
|
Remove todo line
|
2021-10-10 13:32:15 -05:00 |
|
Joshua Suskalo
|
53f72bdb49
|
Move to multimethod implementations for deserialize*
|
2021-10-10 12:43:11 -05:00 |
|
Joshua Suskalo
|
c43ff5a848
|
remove performance comments on things already split out
|
2021-10-10 12:43:11 -05:00 |
|
Joshua Suskalo
|
80beace196
|
Move serialize* to multimethod impls
|
2021-10-10 12:43:11 -05:00 |
|
Joshua Suskalo
|
4f6e8d7bac
|
Move c-layout to multimethod versions
|
2021-10-10 12:43:11 -05:00 |
|
Joshua Suskalo
|
8f5f4a2cc4
|
Add multimethod implementations for primitive-type
This should improve performance
|
2021-10-10 12:43:11 -05:00 |
|
Joshua Suskalo
|
c26c8a40c8
|
Add todos for optimization
|
2021-10-10 11:40:40 -05:00 |
|