* src/vm/properties.cpp: Removed C legacy functions.
authorChristian Thalinger <twisti@complang.tuwien.ac.at>
Fri, 19 Sep 2008 12:41:26 +0000 (14:41 +0200)
committerChristian Thalinger <twisti@complang.tuwien.ac.at>
Fri, 19 Sep 2008 12:41:26 +0000 (14:41 +0200)
* src/vm/properties.hpp: Likewise.

src/vm/properties.cpp
src/vm/properties.hpp

index d3121797c846a088be426dd266578b9d5823bd1a..0be9b5b3fe3224d2d6a356ccb1b33d22d74ce2aa 100644 (file)
@@ -650,13 +650,6 @@ void Properties::dump()
 #endif
 
 
-// Legacy C interface.
-extern "C" {
-       void        Properties_put(const char *key, const char *value) { VM::get_current()->get_properties().put(key, value); }
-       const char *Properties_get(const char *key) { return VM::get_current()->get_properties().get(key); }
-}
-
-
 /*
  * These are local overrides for various environment variables in Emacs.
  * Please do not remove this and leave it at the end of the file, where
index 582099c0ccee4b16d70cb090568afd9d29d7dbd8..df2527fe6abca481190c456e8095bd3c3f7608d9 100644 (file)
@@ -67,13 +67,6 @@ public:
 #endif
 };
 
-#else
-
-typedef struct Properties Properties;
-
-void        Properties_put(const char *key, const char *value);
-const char *Properties_get(const char *key);
-
 #endif
 
 #endif // _PROPERTIES_HPP