/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (https://www.swig.org).
 * Version 4.2.0
 *
 * Do not make changes to this file unless you know what you are doing - modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */

package com.herumi.mcl;

public class Elgamal {
  public static SWIGTYPE_p_bool new_p_bool() {
    long cPtr = ElgamalJNI.new_p_bool();
    return (cPtr == 0) ? null : new SWIGTYPE_p_bool(cPtr, false);
  }

  public static SWIGTYPE_p_bool copy_p_bool(boolean value) {
    long cPtr = ElgamalJNI.copy_p_bool(value);
    return (cPtr == 0) ? null : new SWIGTYPE_p_bool(cPtr, false);
  }

  public static void delete_p_bool(SWIGTYPE_p_bool obj) {
    ElgamalJNI.delete_p_bool(SWIGTYPE_p_bool.getCPtr(obj));
  }

  public static void p_bool_assign(SWIGTYPE_p_bool obj, boolean value) {
    ElgamalJNI.p_bool_assign(SWIGTYPE_p_bool.getCPtr(obj), value);
  }

  public static boolean p_bool_value(SWIGTYPE_p_bool obj) {
    return ElgamalJNI.p_bool_value(SWIGTYPE_p_bool.getCPtr(obj));
  }

  public static void SystemInit(String param) {
    ElgamalJNI.SystemInit(param);
  }

}
