mirror of
https://github.com/Ed94/gencpp.git
synced 2026-01-29 10:21:40 -08:00
First test works.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
inline
|
||||
u8 square_u8(u8 value)
|
||||
{
|
||||
return value * value
|
||||
}
|
||||
|
||||
inline
|
||||
u16 square_u16(u16 value)
|
||||
{
|
||||
return value * value
|
||||
}
|
||||
|
||||
inline
|
||||
u32 square_u32(u32 value)
|
||||
{
|
||||
return value * value
|
||||
}
|
||||
|
||||
inline
|
||||
u64 square_u64(u64 value)
|
||||
{
|
||||
return value * value
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user