- [-] /Primitives/ (ones that begin with =T= I count as `primitive')
- [-] /Primitives/ (ones that begin with =T= I count as `primitive')
- [X] GHOST_TInt8
- [X] GHOST_TInt8
- [X] GHOST_TUns8
- [X] GHOST_TUns8
- [X] GHOST_Tint16
- [X] GHOST_Tint16
- [X] GHOST_TUns16
- [X] GHOST_TUns16
- [X] GHOST_Tint32
- [X] GHOST_Tint32
- [X] GHOST_TUns32
- [X] GHOST_TUns32
- [X] GHOST_TInt64
- [X] GHOST_TInt64
- [X] GHOST_TUns64
- [X] GHOST_TUns64
- [X] GHOST_TUserDataPtr
- [X] GHOST_TUserDataPtr
- [X] GHOST_TSuccess
- [X] GHOST_TSuccess
- [X] GHOST_TTabletMode
- [X] GHOST_TTabletMode
- [X] GHOST_TTabletAPI
- [X] GHOST_TTabletAPI
- [X] GHOST_TVisibility
- [X] GHOST_TVisibility
- [X] GHOST_TFireTimeConstant
- [X] GHOST_TFireTimeConstant
- [X] GHOST_TModifierKeyMask
- [X] GHOST_TModifierKeyMask
- [X] GHOST_TWindowState
- [X] GHOST_TWindowState
- [X] GHOST_TWindowOrder
- [X] GHOST_TWindowOrder
- [X] GHOST_TDrawingContextType
- [X] GHOST_TDrawingContextType
- [X] GHOST_TButtonMask
- [X] GHOST_TButtonMask
- [X] GHOST_TEventType
- [X] GHOST_TEventType
- [ ] GHOST_TStandardCursor
- [ ] GHOST_TStandardCursor
- [ ] GHOST_TKey
- [ ] GHOST_TKey
- [X]/Structures/
- [X]/Structures/
- [X] GHOST_GLSettings
- [X] GHOST_GLSettings
- [X] GHOST_GLFlags
- [X] GHOST_GLFlags
- [X] GHOST_DialogOptions
- [X] GHOST_DialogOptions
- [X] GHOST_TabletData
- [X] GHOST_TabletData
- [X]/Constants/
- [X]/Constants/
- [X]=GHOST_TABLET_DATA_NONE=
- [X]=GHOST_TABLET_DATA_NONE=
* reimpl as ~const fn~ (~GHOST_TabletData::none()~)
* reimpl as ~const fn~ (~GHOST_TabletData::none()~)
*** Native Rust API
*** Native Rust API
I provide more Rust idiomatic API for some things. They may or may not share ABI, if they do they will have type aliases to the corresponding ~GHOST_~ identifier, so always use those when ABI compatability is desired.
I provide more Rust idiomatic API for some things. They may or may not share ABI, if they do they will have type aliases to the corresponding ~GHOST_~ identifier, so always use those when ABI compatability is desired.
@ -58,9 +58,9 @@
**** Overview
**** Overview
List and implementation status of features
List and implementation status of features
- [-] Types
- [-] Types
- [X] [[Handles]]: ~handle.rs~
- [X] [[Handles]]: ~handle.rs~
- [ ] Events: ~event.rs~
- [ ] Events: ~event.rs~
**** Handles
**** Handles
Handles keep the C ABI, but are re-wrtten with traits to be more idiomatic.
Handles keep the C ABI, but are re-wrtten with traits to be more idiomatic.
@ -70,12 +70,12 @@
Since handles are just types pointers, they are only ever used as such and shouldn't exist themselves.
Since handles are just types pointers, they are only ever used as such and shouldn't exist themselves.