Going to start writing bigass macros to slightly decrease the amount of writing I need to do in C, lower time complexity

Why do val = (int *) malloc(sizeof(int)) when I can do int_malloc(val, 1)
@MercurialBuilding ew what the fuck

int* a = malloc(sizeof(int));

What are you doing
@kirby dumbass the right side is a void pointer you need to cast it to an int pointer

And the C version I'm using requires you to declare before assignment
1) You don't need to cast malloc
2) Please tell me that this isn't C89

some c code 

@kirby some mastodon clients don't support code blocks in markdown

so ye that happens on those :/
Follow

@navi
And that's a good sign! It means that they aren't using system WebView to render content 😂
@kirby

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml