comparison dstep/coreservices/carboncore/PLStringFuncs.d @ 11:07194b026fa4

Added bindings to a couple of frameworks, new license + some other things
author Jacob Carlborg <doob@me.com>
date Sat, 01 Aug 2009 15:03:28 +0200
parents
children
comparison
equal deleted inserted replaced
10:27e00625790b 11:07194b026fa4
1 /**
2 * Copyright: Copyright (c) 2009 Jacob Carlborg.
3 * Authors: Jacob Carlborg
4 * Version: Initial created: Jul 21, 2009
5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
6 */
7 module dstep.coreservices.carboncore.PLStringFuncs;
8
9 //import dstep.AvailabilityMacros;
10 //import dstep.carboncore.MacTypes;
11
12 extern (C)
13 {
14 short PLstrcmp (char* str1, char* str2);
15 short PLstrncmp (char* str1, char* str2, short num);
16 char* PLstrcpy (char* dest, char* source);
17 char* PLstrncpy (char* dest, char* source, short num);
18 char* PLstrcat (char* str, char* append);
19 char* PLstrncat (char* str1, char* append, short num);
20 char* PLstrchr (char* str1, short ch1);
21 char* PLstrrchr (char* str1, short ch1);
22 char* PLstrpbrk (char* str1, char* charSet);
23 short PLstrspn (char* str1, char* charSet);
24 char* PLstrstr (char* str1, char* searchStr);
25 short PLstrlen (char* str);
26 short PLpos (char* str1, char* searchStr);
27 }