-
49Up until now the hacky way of all the nested Structs and Pointers and so on worked, but now I'm stuck so this should be done properly and cleaned up.
e.g. [actions.go L194](https://github.com/JM-…
-
I'm trying to add padding on a generic struct (the full code is [here](https://github.com/puzpuzpuz/xsync/pull/104)):
```go
type slotOfPadded[I any] struct {
slotOf[I]
pad [64 - (unsafe.Sizeof(s…
-
Currently, [ResourceMonitoring](https://github.com/dotnet/extensions/tree/main/src/Libraries/Microsoft.Extensions.Diagnostics.ResourceMonitoring) can be consumed in two ways:
- via [IResourceMonitor]…
-
### Summary
POINTER_ALIGNMENT is not applied to the rust structs for example.
```rust
pub struct IO_STACK_LOCATION_0_4 {
pub OutputBufferLength: u32,
pub InputBufferLength: u32,
pu…
vlabo updated
7 months ago
-
Hi
I contacted Cowcat, and he decided to port OpenMoHAA to MorpHOS, which is great. He is working on it and trying to solve the issues with this new, unreleased port.
He has this suggestion that…
-
Problem :
the ix attribute under
```
#[derive(Accounts)
#[instruction(..ix _var)
pub struct ParentAccountIx,
}
#[derive(Accounts)
#[instruction(..ix _var)
pub struct ChildAccount,
}
``…
-
## Description
We've a more or less recent Open API spec that was created as part of the Go client implementation here: https://github.com/typesense/typesense-go/blob/master/typesense/api/openapi.y…
-
Repro:
```
struct GSInOutNested { float value : TEXCOORD0; };
struct GSInOut { GSInOutNested nested[1]; };
[maxvertexcount(1)]
void main(point GSInOut input[1], inout PointStream output)
{
…
-
`pfd` is a struct made using `Buffer` (prev `VarSetCapacity`) and `NumPut`
v1: `DllCall("SetPixelFormat", "uInt", hwndDC, "uInt", iPixelFormat, "uInt", &pfd)`
v2 good: `DllCall("SetPixelFormat",…
-
It would be nice to have the ability to generate and export JavaScript classes from Go structs and interfaces using the `workers-cli` command.
https://developers.cloudflare.com/workers/runtime-apis/b…