Integration of OCCT 6.5.0 from SVN
[occt.git] / samples / java / drv / SampleImportExportJni / SampleImportExportJni_TCollection_AsciiString_java.cxx
CommitLineData
7fd59977 1//
2// Copyright (C) 1991 - 2000 by
3// Matra Datavision SA. All rights reserved.
4//
5// Copyright (C) 2001 - 2004 by
6// Open CASCADE SA. All rights reserved.
7//
8// This file is part of the Open CASCADE Technology software.
9//
10// This software may be distributed and/or modified under the terms and
11// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
12// and appearing in the file LICENSE included in the packaging of this file.
13//
14// This software is distributed on an "AS IS" basis, without warranty of any
15// kind, and Open CASCADE SA hereby disclaims all such warranties,
16// including without limitation, any warranties of merchantability, fitness
17// for a particular purpose or non-infringement. Please see the License for
18// the specific terms and conditions governing rights and limitations under the
19// License.
20
21#include <SampleImportExportJni_TCollection_AsciiString.h>
22#include <TCollection_AsciiString.hxx>
23#include <jcas.hxx>
24#include <stdlib.h>
25#include <Standard_ErrorHandler.hxx>
26#include <Standard_Failure.hxx>
27#include <Standard_SStream.hxx>
28
29
30
31extern "C" {
32
33
34JNIEXPORT void JNICALL Java_SampleImportExportJni_TCollection_1AsciiString_FinalizeValue(JNIEnv *, jclass, jlong theid)
35{
36if (theid) {
37 TCollection_AsciiString* theobj = (TCollection_AsciiString*) theid;
38 delete theobj;
39}
40}
41
42
43}