memcpy() equivalent?
Hi,
I'm trying currently to do something like this: Code:
new src[] = { 1, 1, 0, 1, 2, 0, 0, 1 };Any AMXX equivalent of memcpy()? Thanks! Misery |
Re: memcpy() equivalent?
You can just use a loop. I'm not aware of any built in function.
|
Re: memcpy() equivalent?
Afraid there's no equivalent of memcpy() in the AMXX toolkit.
You could do something like this however: Code:
|
Re: memcpy() equivalent?
Yes, of course I wrote a memcpy() myself, as a workaround. ^^
I was just wondering if a native version was around there, as my source is already huge... Bah, not a big deal I guess. Still, if anyone got something interesting to say, feel free to tell me. |
Re: memcpy() equivalent?
Quote:
|
Re: memcpy() equivalent?
Quote:
|
Re: memcpy() equivalent?
Like fysiks said, just loop through all the cells and copy them.
|
Re: memcpy() equivalent?
Quote:
|
| All times are GMT -4. The time now is 11:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.