Skip to content

Commit 72db872

Browse files
committed
minor cleanup
darcs-hash:20091218183348-56c21-2d3e10be78082d05fdc536fb238c52186e17bffb
1 parent e897810 commit 72db872

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Foreign/Matlab.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{-# OPTIONS_GHC -fno-implicit-prelude #-}
1+
{-# LANGUAGE NoImplicitPrelude #-}
22

33
{-|
44
Bundles Matlab data structure and general-purpose routines.

Foreign/Matlab/Engine.hsc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ foreign import ccall unsafe "&" engClose :: FunPtr (EnginePtr -> IO ()) -- CInt
3838

3939
-- |Start Matlab server process. It will automatically be closed down when no longer in use.
4040
newEngine :: Maybe FilePath -> IO Engine
41-
newEngine Nothing = newEngine (Just matlabBin)
41+
newEngine Nothing = newEngine (Just ("exec " ++ matlabBin))
4242
newEngine (Just bin) = do
4343
eng <- withCString bin engOpen
4444
if eng == nullPtr

Foreign/Matlab/Internal.hsc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module Foreign.Matlab.Internal (
2323
MNull, mNullArray, isMNull,
2424
MCell(..),
2525
MStruct(..),
26-
MFun,
26+
MXFun, MFun,
2727
MWSize, MWIndex, MWSignedIndex
2828
) where
2929

matlab.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Library
3333
Other-modules: Foreign.Matlab.Config, Foreign.Matlab.Util, Foreign.Matlab.Internal
3434
Extensions: ForeignFunctionInterface, TypeSynonymInstances, MultiParamTypeClasses, FunctionalDependencies, EmptyDataDecls, ScopedTypeVariables, LiberalTypeSynonyms, DeriveDataTypeable, FlexibleInstances, UndecidableInstances
3535
ghc-options: -Wall -fno-warn-name-shadowing
36-
extra-libraries: mx
36+
extra-libraries: mx mex
3737
if flag(engine)
3838
extra-libraries: eng
3939
if flag(mcr)

0 commit comments

Comments
 (0)