Skip to content

std: add std_i32_idx()#277

Open
Mixaill wants to merge 1 commit intosigrokproject:masterfrom
Mixaill:i32
Open

std: add std_i32_idx()#277
Mixaill wants to merge 1 commit intosigrokproject:masterfrom
Mixaill:i32

Conversation

@Mixaill
Copy link

@Mixaill Mixaill commented Dec 14, 2025

spinoff from #275, needed for convenient operations with SR_CONF_NUM_LOGIC_CHANNELS which is SR_T_INT32

@Krakonos
Copy link

@Mixaill Thanks for the contribution. I wonder if we should also add u32 and i64? Although not used currently, I find it more convenient to have these functions predefined for the common types. One would expect u32 to exist when i32 exists and vice versa.

@abraxa Any opinion on this?

Otherwise, this is OK to merge -- though I'd be happier to see all the types included.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants