Skip to content

Commit

Permalink
adding pointer types to c99_types
Browse files Browse the repository at this point in the history
  • Loading branch information
William Adams committed Dec 3, 2017
1 parent 95f2242 commit 841391f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
19 changes: 15 additions & 4 deletions c99_types.lua
Expand Up @@ -62,36 +62,47 @@ local c99_types = {

int8_t = int8_t,
int8_tv = int8_tv,
int8_tp = int8_tp,

uint8_t = uint8_t,
uint8_tv = uint8_tv,
uint8_tp = uint8_tp,

int16_t = int16_t,
int16_tv = int16_tv,

int16_tp = int16_tp,

uint16_t = uint16_t,
uint16_tv = uint16_tv,
uint16_tp = uint16_tp,

int32_t = int32_t,
int32_tv = int32_tv,

int32_tp = int32_tp,

uint32_t = uint32_t,
uint32_tv = uint32_tv,
uint32_tp = uint32_tp,

int64_t = int64_t,
int64_tv = int64_tv,

int64_tp = int64_tp,

uint64_t = uint64_t,
uint64_tv = uint64_tv,
uint64_tp = uint64_tp,

float = float,
floatv = floatv,

floatp = floatp,

double = double,
doublev= doublev,
doublep = doublep,

wchar_t = wchar_t,
wchart_tv = wchar_tv,
wchar_tp = wchar_tp,
}

return c99_types;
2 changes: 1 addition & 1 deletion cctype.lua
Expand Up @@ -113,10 +113,10 @@ return {
isdigit = isdigit,
isgraph = isgraph,
islower = islower,
isupper = isupper,
isprint = isprint,
ispunct = ispunct,
isspace = isspace,
isupper = isupper,
isxdigit = isxdigit,
tolower = tolower,
Expand Down

0 comments on commit 841391f

Please sign in to comment.