source: CIVL/text/include/string.cvl@ ee38d17

1.23 2.0 main test-branch
Last change on this file since ee38d17 was 06d6af3, checked in by Manchun Zheng <zmanchun@…>, 12 years ago

cleaned up civl header files: get rid of unnecessary .cvh files.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@1453 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 329 bytes
RevLine 
[06d6af3]1/* CIVL implementation of string.h */
[e484c35]2
[06d6af3]3#ifdef __STRING_CIVL__
[e484c35]4#else
[06d6af3]5#define __STRING_CIVL__
6
7#include<string.h>
[a0aa644]8#include<bundle.cvh>
[e484c35]9
10/* Copies a region of memory */
[93eee6d]11void* memcpy(void *p, void *q, const size_t size) {
[e484c35]12 $atom {
13 $bundle bundle = $bundle_pack(q, size);
14 $bundle_unpack(bundle, p);
15 }
[93eee6d]16 return p;
[e484c35]17}
[a0f0868]18
19#endif
Note: See TracBrowser for help on using the repository browser.