Skip to content

Simple C header to enable native pass-by-reference without using pesky pointers.

Notifications You must be signed in to change notification settings

ImogenBits/reference

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reference.h, a simple C header to pass values by reference

Ae you tired of people telling you to switch to C++ because C doesn't even have pass-by-reference?
Don't worry! just* include reference.h and you too can pass references without messing with those weird "pointers".
There genuinely is nothing akin to pointer dereferencing going on here! When using this the code will continue to do exactly what you want it to do, modify an argument variable

*(functionality entirely dependent on compiler mood)

About

Simple C header to enable native pass-by-reference without using pesky pointers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages