| 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 <CASCADESamplesJni_SelectMgr_ListOfFilter.h> |
| 22 | #include <SelectMgr_ListOfFilter.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 | |
| 31 | extern "C" { |
| 32 | |
| 33 | |
| 34 | JNIEXPORT void JNICALL Java_CASCADESamplesJni_SelectMgr_1ListOfFilter_FinalizeValue(JNIEnv *, jclass, jlong theid) |
| 35 | { |
| 36 | if (theid) { |
| 37 | SelectMgr_ListOfFilter* theobj = (SelectMgr_ListOfFilter*) theid; |
| 38 | delete theobj; |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | |
| 43 | } |