Olivier Goffart
|
b745c616f7
|
Add a trait to get the vtable for a type
|
2020-05-18 11:06:44 +02:00 |
|
Olivier Goffart
|
4ca45ca4da
|
vtable crate: Some refactoring and simplifications
|
2020-05-18 11:06:44 +02:00 |
|
Olivier Goffart
|
903fc513de
|
vtable: make sure one cannot call the function with the wrong type
|
2020-05-18 11:06:44 +02:00 |
|
Olivier Goffart
|
0a973f65d5
|
vtable: Some more safety fix
|
2020-05-18 11:06:44 +02:00 |
|
Olivier Goffart
|
f74cfe73cd
|
Use the vtable crate for the ItemVTable
|
2020-05-18 11:06:44 +02:00 |
|
Olivier Goffart
|
49fc23224e
|
vtable: Remove the TraitType wrapper, and allow Option<fn>
|
2020-05-18 11:06:44 +02:00 |
|
Olivier Goffart
|
8d9a64d249
|
vtable: add a macro to create a static vtable
|
2020-05-18 11:06:44 +02:00 |
|
Olivier Goffart
|
62010be72e
|
vtable: support associated consts
|
2020-05-18 11:06:44 +02:00 |
|
Olivier Goffart
|
4988fcb543
|
More fix to use vtable for component. All rust code compiles
|
2020-05-18 11:06:31 +02:00 |
|
Olivier Goffart
|
686f4c9591
|
More work on the vtable macro to adapt the Component
This does not work yet
|
2020-05-18 11:04:54 +02:00 |
|
Olivier Goffart
|
1ced4224b5
|
More work on the vtable crate
|
2020-05-18 11:04:54 +02:00 |
|
Olivier Goffart
|
aa27fceb8c
|
vtable: move the macro in its own macro crate so we can have a runtime
|
2020-05-18 11:04:54 +02:00 |
|
Olivier Goffart
|
fb691e0808
|
Implement Component using vtable
(the C++ part not yet ported)
|
2020-05-18 11:04:54 +02:00 |
|
Olivier Goffart
|
4b19818f6c
|
WIP: port Component to vtable
|
2020-05-18 11:04:54 +02:00 |
|
Olivier Goffart
|
5c5df6b8e3
|
Macro to generate trait and safe abstraction for a vtable
|
2020-05-13 23:07:59 +02:00 |
|
Olivier Goffart
|
7d1394e349
|
Add a viewer tool
|
2020-05-12 19:19:25 +02:00 |
|
Olivier Goffart
|
ecf1599d35
|
Silent warnings
|
2020-05-07 08:20:44 +02:00 |
|
Olivier Goffart
|
a0d9369336
|
Add a crate to compute the field offsets as const fn
|
2020-05-06 20:58:10 +02:00 |
|