View Single Post
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 11-17-2012 , 12:20   Re: #define s_is_number(%1) isdigit(%1)
Reply With Quote #4

Quote:
Originally Posted by Neeeeeeeeeel.- View Post
The compiler just replace every s_is_number with isdigit.
Quote:
Originally Posted by Arkshine View Post
What you do is a macro. If you write s_is_number, when you will compile the plugin, any occurrence of this name will be replaced by isdigit.
Thanks!

One question more
if num_to_str( number, string[], ilen)
how #define s_number_to_string(?)
I cant remember how it goes ...

Last edited by .Dare Devil.; 11-17-2012 at 12:20.
.Dare Devil. is offline