1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-29 07:02:27 +01:00

Add first crude binary module implementation.

This commit is contained in:
Kris Maglione
2011-09-22 21:08:40 -04:00
parent d568ce8762
commit 6af256bc53
17 changed files with 1290 additions and 6 deletions

View File

@@ -0,0 +1,30 @@
/* Public Domain */
#include "nsISupports.idl"
%{C++
#include "jsapi.h"
%}
[scriptable, uuid(29d1c61f-5959-42b3-8a13-4b473b2b47bf)]
interface dactylIUtils : nsISupports
{
[implicit_jscontext]
jsval createGlobal();
[implicit_jscontext]
jsval evalInContext(in AString source,
in jsval target,
[optional] in ACString filename,
[optional] in PRInt32 lineNumber);
[implicit_jscontext]
jsval getGlobalForObject(in jsval object);
void loadSubScript (in wstring url
/* [optional] in jsval context, */
/* [optional] in wstring charset */);
};
/* vim:se sts=4 sw=4 et ft=idl: */