mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
* - moved SMILES and RGroupDecomp JSON parsers to their own translation units - added missing DLL export decorators that had been previously forgotten - changed the signatures of MolToCXSmiles and updateCXSmilesFieldsFromJSON to replace enum parameters with the underlying types - updated ReleaseNotes.md * make sure cxSmilesFields is only updated if the JSON string contains keys belonging to the CXSmilesFields enum * added missing copyright notices --------- Co-authored-by: ptosco <paolo.tosco@novartis.com>
20 lines
597 B
C
20 lines
597 B
C
//
|
|
// Copyright (C) 2024 Novartis Biomedical Research and other RDKit contributors
|
|
//
|
|
// @@ All Rights Reserved @@
|
|
// This file is part of the RDKit.
|
|
// The contents are covered by the terms of the BSD license
|
|
// which is included in the file license.txt, found at the root
|
|
// of the RDKit source tree.
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#ifdef USE_BETTER_ENUMS
|
|
#include "enum.h"
|
|
#define BETTER_ENUM_CLASS BETTER_ENUM
|
|
#else
|
|
#define BETTER_ENUM(Enum, Underlying, ...) enum Enum : Underlying { __VA_ARGS__ }
|
|
#define BETTER_ENUM_CLASS(Enum, Underlying, ...) enum class Enum : Underlying { __VA_ARGS__ }
|
|
#endif
|