From: Florian Ragwitz Date: Sun, 15 Mar 2009 17:54:03 +0000 (+0100) Subject: Uninline mop_prehashed_{key,hash}_for. X-Git-Tag: 0.78_01~40 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=20c230c5c7983491ab3630aca435412382f69a2b;p=gitmo%2FClass-MOP.git Uninline mop_prehashed_{key,hash}_for. They wouldn't be inlined anyway and some compilers complain. --- diff --git a/mop.c b/mop.c index feae858..16d8f53 100644 --- a/mop.c +++ b/mop.c @@ -222,13 +222,13 @@ static struct { DECLARE_KEY(ISA) }; -inline SV * +SV * mop_prehashed_key_for (mop_prehashed_key_t key) { return prehashed_keys[key].key; } -inline U32 +U32 mop_prehashed_hash_for (mop_prehashed_key_t key) { return prehashed_keys[key].hash; diff --git a/mop.h b/mop.h index f14dea6..4aa5788 100644 --- a/mop.h +++ b/mop.h @@ -34,8 +34,8 @@ typedef enum { #define HASH_FOR(name) mop_prehashed_hash_for(KEY_ ##name) void mop_prehash_keys (void); -inline SV *mop_prehashed_key_for (mop_prehashed_key_t key); -inline U32 mop_prehashed_hash_for (mop_prehashed_key_t key); +SV *mop_prehashed_key_for (mop_prehashed_key_t key); +U32 mop_prehashed_hash_for (mop_prehashed_key_t key); #define INSTALL_SIMPLE_READER(klass, name) INSTALL_SIMPLE_READER_WITH_KEY(klass, name, name) #define INSTALL_SIMPLE_READER_WITH_KEY(klass, name, key) \