GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java™ (public API).
GlueEmitterControls.java
Go to the documentation of this file.
1/*
2 * Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met:
7 *
8 * - Redistribution of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 *
11 * - Redistribution in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution.
14 *
15 * Neither the name of Sun Microsystems, Inc. or the names of
16 * contributors may be used to endorse or promote products derived from
17 * this software without specific prior written permission.
18 *
19 * This software is provided "AS IS," without a warranty of any kind. ALL
20 * EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES,
21 * INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A
22 * PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN
23 * MICROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL NOT BE LIABLE FOR
24 * ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR
25 * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR
26 * ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR
27 * DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE
28 * DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY,
29 * ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF
30 * SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
31 *
32 * You acknowledge that this software is not designed or intended for use
33 * in the design, construction, operation or maintenance of any nuclear
34 * facility.
35 *
36 * Sun gratefully acknowledges that this software was originally authored
37 * and developed by Kenneth Bradley Russell and Christopher John Kline.
38 */
39
40package com.jogamp.gluegen;
41
42/** Specifies the interface by which a GlueEmitter can request
43 additional information from the glue generator. */
44
45public interface GlueEmitterControls {
46 /** Requests emission of an accessor for a struct that will not be
47 referenced by any functions or other structs. */
48 public void forceStructEmission(String typedefName);
49
50 /** Finds the full path name of the specified header file based on
51 the include directories specified on the command line. */
52 public String findHeaderFile(String headerFileName);
53
54 /** Runs the given filter on the #defines, enum definitions and
55 function symbols that this controller has parsed. It is valid to
56 call this method as soon as {@link GlueEmitter#beginEmission}
57 has been called on the GlueEmitter, and it is recommended to
58 call it from that method call. Calling it during glue code
59 emission may cause problems. */
60 public void runSymbolFilter(SymbolFilter filter);
61}
Specifies the interface by which a GlueEmitter can request additional information from the glue gener...
void forceStructEmission(String typedefName)
Requests emission of an accessor for a struct that will not be referenced by any functions or other s...
void runSymbolFilter(SymbolFilter filter)
Runs the given filter on the #defines, enum definitions and function symbols that this controller has...
String findHeaderFile(String headerFileName)
Finds the full path name of the specified header file based on the include directories specified on t...
Provides a mechanism by which the GlueEmitter can look at all of the #defines, enum values and functi...