Fredrik Kihlander

Results 71 comments of Fredrik Kihlander

I was working on #126 last night when it hit me that I might not be solving the correct issue. Supporting bitflags in enums as enums work now will be...

This shouldn't be that hard... But I'm just curious, what is your usecase?

#58 is also mentioning bitfield ops on enums, do you have any specific usecasese for this as I have a hard time coming up with cases for myself where I...

That is still not touching on your usecasese, just re-stating what was said in the issue. My biggest problem here is the fact that I'm not sure how to handle...

@lundmark If I were to change this interface, how much would that break your code? And if it is much, would it be ok for you to re-implement the old...

As far as I know now it would only be the changes mentioned above.

When looking at it it may be fine to just extend the interface.

I just copied this directly into a unittest and it seams to work? ( Something that actually surprised me ). Anything I might have missed?

Test added: ``` TEST_F( DLText, subdefaults ) { const char* text_data = STRINGIFY( { "type" : "subdefaults2", "data" : {} } ); unsigned char out_data_txt[1024]; EXPECT_DL_ERR_OK(dl_txt_pack(Ctx, text_data, out_data_txt, sizeof( out_data_txt...

Setting the array-member seams to crash.