summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2011-10-18 16:42:48 +0100
committerSimon Marlow <marlowsd@gmail.com>2011-10-19 10:28:39 +0100
commitc397c89a062c933fb9ee881c337522788b10cb50 (patch)
tree3b491587f1e4ed570b9c1a3cb290774a62ec44f1 /includes
parent53f1414526a7c6a844568a82fdfc0553d7b66ab8 (diff)
downloadhaskell-c397c89a062c933fb9ee881c337522788b10cb50.tar.gz
Revert "Move freeStablePtr() into the exported API (Lennart wants it)"
On second thoughts, hs_free_stable_ptr() is the official way to free a StablePtr. This reverts commit ae583f2949570755c8a03f68a71416c0fd7f257c.
Diffstat (limited to 'includes')
-rw-r--r--includes/rts/Stable.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/rts/Stable.h b/includes/rts/Stable.h
index 38ca665bfb..ec867e486c 100644
--- a/includes/rts/Stable.h
+++ b/includes/rts/Stable.h
@@ -15,8 +15,7 @@
#define RTS_STABLE_H
EXTERN_INLINE StgPtr deRefStablePtr (StgStablePtr stable_ptr);
-StgStablePtr getStablePtr (StgPtr p);
-void freeStablePtr (StgStablePtr sp);
+StgStablePtr getStablePtr (StgPtr p);
/* -----------------------------------------------------------------------------
PRIVATE from here.