Bug 1393230 - Part 3: Convert the xpcom string classes to be templated on char type. r=njn, r=fitzgen, r=sfink
This removes the double-include macro hackery that we use to define two separate string types (nsAString and nsACString) in favor of a templated solution. Annotations for Valgrind and the JS hazard analysis are updated as well as the rust binding generations for string code.
This commit is contained in:
@@ -6,12 +6,4 @@
|
||||
|
||||
#include "nsSubstringTuple.h"
|
||||
|
||||
// define nsSubstringTuple
|
||||
#include "string-template-def-unichar.h"
|
||||
#include "nsTSubstringTuple.cpp"
|
||||
#include "string-template-undef.h"
|
||||
|
||||
// define nsCSubstringTuple
|
||||
#include "string-template-def-char.h"
|
||||
#include "nsTSubstringTuple.cpp"
|
||||
#include "string-template-undef.h"
|
||||
|
||||
Reference in New Issue
Block a user