1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

bring back string.h for now

This commit is contained in:
Alexander Medvednikov 2019-10-26 11:51:22 +03:00
parent fbd41eacba
commit f6f5b8cfb1
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ module builtin
// <string.h>
fn C.memcpy(byteptr, byteptr, int) voidptr
fn C.memmove(byteptr, byteptr, int)
fn C.memmove(byteptr, byteptr, int) voidptr
//fn C.malloc(int) byteptr
fn C.realloc(a byteptr, b int) byteptr

View File

@ -9,7 +9,7 @@ CommonCHeaders = '
#include <signal.h>
#include <stdarg.h> // for va_list
#include <inttypes.h> // int64_t etc
//#include <string.h> // memcpy
#include <string.h> // memcpy
#ifndef _WIN32
#include <ctype.h>