mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
ifdef includes and inline function that requires MOZILLA_INTERNAL_API, so that this header can be pulled in from a standalone extension (bug 334870). r+b181=darin.
This commit is contained in:
parent
6701ce3665
commit
98ca2e8272
@ -43,8 +43,10 @@
|
||||
|
||||
%{C++
|
||||
#include "nsplugindefs.h"
|
||||
#ifdef MOZILLA_INTERNAL_API
|
||||
#include "nsString.h"
|
||||
#include "nsNetUtil.h"
|
||||
#endif
|
||||
#include "prlink.h" // for PRLibrary
|
||||
%}
|
||||
|
||||
@ -94,6 +96,7 @@ interface nsIPluginHost : nsIFactory
|
||||
};
|
||||
|
||||
%{C++
|
||||
#ifdef MOZILLA_INTERNAL_API
|
||||
/**
|
||||
* Used for creating the correct input stream for plugins
|
||||
* We can either have raw data (with or without \r\n\r\n) or a path to a file (but it must be native!)
|
||||
@ -151,4 +154,5 @@ NS_NewPluginPostDataStream(nsIInputStream **result,
|
||||
}
|
||||
return rv;
|
||||
}
|
||||
#endif
|
||||
%}
|
||||
|
Loading…
Reference in New Issue
Block a user