org.fusesource.hawtjni.runtime.ClassFlag Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of leveldbjni-all Show documentation
Show all versions of leveldbjni-all Show documentation
An uber jar which contains all the leveldbjni platform libraries and dependencies
The newest version!
/*******************************************************************************
* Copyright (C) 2009-2011 FuseSource Corp.
* Copyright (c) 2004, 2008 IBM Corporation and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
package org.fusesource.hawtjni.runtime;
/**
*
* @author Hiram Chirino
*/
public enum ClassFlag {
/**
* Indicate that the item should not be generated. For example,
* custom natives are coded by hand.
*/
CLASS_SKIP,
/**
* Indicate that the platform source is in C++
*/
CPP,
/**
* Indicate that this class will define a structure
*/
STRUCT,
/**
* Indicate that structure name is a typedef (It should
* not be prefixed with 'struct' to reference it.)
*/
TYPEDEF,
/**
* Indicate that the struct should get zeroed out before
* setting any of it's fields. Comes in handy when
* you don't map all the struct fields to java fields but
* still want the fields that are not mapped initialized.
*/
ZERO_OUT,
}