5 * $XConsortium: DtLanguages.hh /main/4 1996/04/21 19:44:39 drk $
7 * RESTRICTED CONFIDENTIAL INFORMATION:
9 * The information in this document is subject to special
10 * restrictions in a confidential disclosure agreement bertween
11 * HP, IBM, Sun, USL, SCO and Univel. Do not distribute this
12 * document outside HP, IBM, Sun, USL, SCO, or Univel wihtout
13 * Sun's specific written approval. This documment and all copies
14 * and derivative works thereof must be returned or destroyed at
17 * Copyright 1993 Sun Microsystems, Inc. All rights reserved.
22 #ifndef _DTLANGUAGES_HH
23 #define _DTLANGUAGES_HH
27 // The DtCPlusPlusAllocator class is provided to allow C applications
28 // to access the C++ implementation. C applications will not typically
29 // have access to new and delete so they are over ridden here.
31 class DtCPlusPlusAllocator {
33 static void * operator new(size_t size);
34 static void operator delete(void * ptr);