Skip to content

Commit f32cb4e

Browse files
authored
Remove unnecessary dependency (#210)
* change the version to 0.7.0.1 * change all 0.7.0.0 to 0.7.0.1 * shell prompt * remove unnecessary dep (fficxx and hashable) for the generated codes. * update Changelog
1 parent 333f045 commit f32cb4e

File tree

18 files changed

+27
-41
lines changed

18 files changed

+27
-41
lines changed

.envrc

Lines changed: 0 additions & 4 deletions
This file was deleted.

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
import sphinx_rtd_theme
1010

1111
project = 'fficxx'
12-
copyright = '2022, Ian-Woo Kim'
12+
copyright = '2013 - 2023, Ian-Woo Kim'
1313
author = 'Ian-Woo Kim'
14-
release = '0.7.0.0'
14+
release = '0.7.0.1'
1515

1616
# -- General configuration ---------------------------------------------------
1717
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

examples/map/test.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ import Foreign.Ptr
1212
import STD.CppString
1313
import qualified STD.Map.TH as TH
1414
import STD.Map.Template
15+
import STD.MapIterator.Template
16+
import STD.Pair.Template
1517

1618
TH.genMapInstanceFor
1719
CPrim

examples/proxy/Gen.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ stdcxx_cabal :: Cabal
6969
stdcxx_cabal =
7070
Cabal
7171
{ cabal_pkgname = CabalName "stdcxx",
72-
cabal_version = "0.6",
72+
cabal_version = "0.7.0.1",
7373
cabal_cheaderprefix = "STD",
7474
cabal_moduleprefix = "STD",
7575
cabal_additional_c_incs = [],

fficxx-multipkg-test/template-member/Gen.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ stdcxx_cabal :: Cabal
7070
stdcxx_cabal =
7171
Cabal
7272
{ cabal_pkgname = CabalName "stdcxx",
73-
cabal_version = "0.6",
73+
cabal_version = "0.7.0.1",
7474
cabal_cheaderprefix = "STD",
7575
cabal_moduleprefix = "STD",
7676
cabal_additional_c_incs = [],

fficxx-multipkg-test/template-toplevel/Gen.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ stdcxx_cabal :: Cabal
7474
stdcxx_cabal =
7575
Cabal
7676
{ cabal_pkgname = CabalName "stdcxx",
77-
cabal_version = "0.6",
77+
cabal_version = "0.7.0.1",
7878
cabal_cheaderprefix = "STD",
7979
cabal_moduleprefix = "STD",
8080
cabal_additional_c_incs = [],

fficxx-runtime/ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog for fficxx-runtime
22

3+
## 0.7.0.1
4+
5+
- Remove unnecessary dependency (#210)
6+
37
## 0.7.0.0
48

59
- Show generated module dependency graph (#203)

fficxx-runtime/fficxx-runtime.cabal

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Cabal-Version: 3.0
22
Name: fficxx-runtime
3-
Version: 0.7.0.0
3+
Version: 0.7.0.1
44
Synopsis: Runtime for fficxx-generated library
55
Description: Runtime for fficxx-generated library.
66
fficxx is an automatic haskell Foreign Function Interface (FFI) generator to C++.
@@ -24,7 +24,6 @@ Library
2424
Build-Depends:
2525
base == 4.*,
2626
bytestring,
27-
hashable,
2827
template-haskell
2928
Exposed-Modules:
3029
FFICXX.Runtime.Cast

fficxx-runtime/src/FFICXX/Runtime/CodeGen/Cxx.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@
44
module FFICXX.Runtime.CodeGen.Cxx where
55

66
import Data.Functor.Identity (Identity)
7-
import Data.Hashable (Hashable)
87
import Data.Kind (Type)
98
import Data.List (intercalate)
109
import Data.String (IsString (..))
1110

1211
newtype HeaderName = HdrName {unHdrName :: String}
13-
deriving (Hashable, Show, Eq, Ord)
12+
deriving (Show, Eq, Ord)
1413

1514
instance IsString HeaderName where
1615
fromString = HdrName

fficxx-test/fficxx-test.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Cabal-Version: 3.0
22
Name: fficxx-test
3-
Version: 0.7.0.0
3+
Version: 0.7.0.1
44
Synopsis: test for fficxx
55
Description: test for fficxx (with stdcxx)
66
License: BSD-2-Clause

0 commit comments

Comments
 (0)