Skip to content

Commit

Permalink
Fixed: C++ objects referenced in 'extern C' functions
Browse files Browse the repository at this point in the history
These should be extern C++.
  • Loading branch information
skyjake committed Nov 13, 2012
1 parent 68f9ff2 commit cdf6620
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions doomsday/engine/include/sys_reslocator.h
Expand Up @@ -182,6 +182,8 @@ resourcenamespaceid_t F_DefaultResourceNamespaceForClass(resourceclass_t rclass)
resourcenamespaceid_t F_SafeResourceNamespaceForName(char const* name);

#ifdef __cplusplus
} // extern "C"

/**
* Attempts to determine which "type" should be attributed to a resource, solely
* by examining the name (e.g., a file name/path).
Expand Down Expand Up @@ -209,10 +211,6 @@ bool F_MapGameResourcePath(resourcenamespaceid_t rnamespaceId, de::String& path)
*/
de::String const& F_ResourceClassStr(resourceclass_t rclass);

#endif

#ifdef __cplusplus
} // extern "C"
#endif
#endif // __cplusplus

#endif /* LIBDENG_SYSTEM_RESOURCE_LOCATOR_H */

0 comments on commit cdf6620

Please sign in to comment.