mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-10-01 03:08:08 +03:00
Updated Spice SDK (markdown)
+3
-1
@@ -25,9 +25,11 @@ See one of the `.def` files in the sample section for an example.
|
||||
|
||||
#### Implement `spice_sdk_entry_point` in your project
|
||||
|
||||
Here is a minimal example:
|
||||
Here is a minimal C++ example snippet:
|
||||
|
||||
```cpp
|
||||
#include "sdk/include/spicesdk.h"
|
||||
#include "sdk/include/spicesdk_io.h"
|
||||
|
||||
SPICE_SDK_V0 spice_sdk = {};
|
||||
spice_sdk_destroy_callback_func destroy_callback;
|
||||
|
||||
Reference in New Issue
Block a user