You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.9 KiB

/*
* FCML - Free Code Manipulation Library.
* Copyright (C) 2010-2019 Slawomir Wojtasiak
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/** @file fcml_intel_dialect.h
* Intel dialect implementation.
* @copyright Copyright (C) 2010-2015 Slawomir Wojtasiak. All rights reserved.
* This project is released under the GNU Lesser General Public License.
*/
#ifndef FCML_ASM_DIALECT_INTEL_H_
#define FCML_ASM_DIALECT_INTEL_H_
#include "fcml_lib_export.h"
#include "fcml_errors.h"
#include "fcml_dialect.h"
#ifdef __cplusplus
extern "C" {
#endif
/** Default combination of the configuration flags.*/
#define FCML_INTEL_DIALECT_CF_DEFAULT 0
/**
* Initializes Intel dialect.
* Prepares new instance of Intel dialect for given set of configuration flags.
* Every dialect has to be freed using fcml_fn_dialect_free() function.
*
* @param config_flags Configuration flags dedicated to the dialect.
* @param[out] dialect Prepared dialect instance.
* @return Error code or FCML_CEH_GEC_NO_ERROR.
* @see fcml_fn_dialect_free
*/
LIB_EXPORT fcml_ceh_error LIB_CALL fcml_fn_dialect_init_intel(
fcml_uint32_t config_flags, fcml_st_dialect **dialect);
#ifdef __cplusplus
}
#endif
#endif /* FCML_ASM_DIALECT_INTEL_H_ */