Re[2]: Question about STRINGs...
Lothar Scholz <[email protected]> Tue, 31 May 2005 15:41:42 +0700
| Newsgroups | gmane.comp.lang.eiffel.smalleiffel |
|---|---|
| Organization | Scriptolutions |
| Message-ID | <[email protected]> |
Hello José, Tuesday, May 31, 2005, 3:20:40 PM, you wrote: >> Is there any possibility to add a creation routine to STRING such as >> >> copy_external_sequence(ptr : POINTER;size : INTEGER) >> >> >> or something so one can copy some arbitrary data pointed to by 'ptr' in >> an efficient way (by having it use bcopy/memcpy/etc.)? >> Your code is the usual workaround, but i would also highly recommend that we add this feature to the string class. I patched my SmallEiffel STRING.e source code for this. It is a very necessary function. No matter what Dominique says. -- Best regards, Lothar mailto:[email protected]