ReplicaNet and RNLobby  1
StrDup.h
1 /* START_LICENSE_HEADER
2 
3 Copyright (C) 2000 Martin Piper, original design and program code
4 Copyright (C) 2001 Replica Software
5 
6 This program file is copyright (C) Replica Software and can only be used under license.
7 For more information visit: http://www.replicanet.com/
8 Or email: info@replicanet.com
9 
10 END_LICENSE_HEADER */
11 #include "RNPlatform/Inc/MemoryTracking.h"
12 #ifndef _RN_STRDUP_H_
13 #define _RN_STRDUP_H_
14 
15 namespace RNReplicaNet
16 {
17 
19 extern char *StrDup(const char *text);
20 
21 // For Windows builds that redefine the token (sigh) StrDup to be StrDupA
22 extern char *StrDupA(const char *text);
23 
24 } // namespace RNReplicaNet
25 
26 #endif //#ifndef _RN_STRDUP_H_