Сообщение Re: Angular 2 и .Net Core от 29.12.2016 12:01
Изменено 29.12.2016 12:10 Serginio1
Здравствуйте, Serginio1, Вы писали:
Скачал по ссылке https://developer.chrome.com/native-client/sdk/download хромовского клиента.
Нашел часто используемую структуру в файле .ю\nacl_sdk\pepper_49\include\ppapi\c\ppVar.h
Скачал по ссылке https://developer.chrome.com/native-client/sdk/download хромовского клиента.
Нашел часто используемую структуру в файле .ю\nacl_sdk\pepper_49\include\ppapi\c\ppVar.h
* The <code>PP_VarType</code> is an enumeration of the different types that
* can be contained within a <code>PP_Var</code> structure.
*/
typedef enum {
/**
* An undefined value.
*/
PP_VARTYPE_UNDEFINED = 0,
/**
* A NULL value. This is similar to undefined, but JavaScript differentiates
* the two so it is exposed here as well.
*/
PP_VARTYPE_NULL = 1,
/**
* A boolean value, use the <code>as_bool</code> member of the var.
*/
PP_VARTYPE_BOOL = 2,
/**
* A 32-bit integer value. Use the <code>as_int</code> member of the var.
*/
PP_VARTYPE_INT32 = 3,
/**
* A double-precision floating point value. Use the <code>as_double</code>
* member of the var.
*/
PP_VARTYPE_DOUBLE = 4,
/**
* The Var represents a string. The <code>as_id</code> field is used to
* identify the string, which may be created and retrieved from the
* <code>PPB_Var</code> interface. These objects are reference counted, so
* AddRef() and Release() must be used properly to avoid memory leaks.
*/
PP_VARTYPE_STRING = 5,
/**
* Represents a JavaScript object. This vartype is not currently usable
* from modules, although it is used internally for some tasks. These objects
* are reference counted, so AddRef() and Release() must be used properly to
* avoid memory leaks.
*/
PP_VARTYPE_OBJECT = 6,
/**
* Represents an array of Vars. The <code>as_id</code> field is used to
* identify the array, which may be created and manipulated from the
* <code>PPB_VarArray</code> interface. These objects are reference counted,
* so AddRef() and Release() must be used properly to avoid memory leaks.
*/
PP_VARTYPE_ARRAY = 7,
/**
* Represents a mapping from strings to Vars. The <code>as_id</code> field is
* used to identify the dictionary, which may be created and manipulated from
* the <code>PPB_VarDictionary</code> interface. These objects are reference
* counted, so AddRef() and Release() must be used properly to avoid memory
* leaks.
*/
PP_VARTYPE_DICTIONARY = 8,
/**
* ArrayBuffer represents a JavaScript ArrayBuffer. This is the type which
* represents Typed Arrays in JavaScript. Unlike JavaScript 'Array', it is
* only meant to contain basic numeric types, and is always stored
* contiguously. See PPB_VarArrayBuffer_Dev for functions special to
* ArrayBuffer vars. These objects are reference counted, so AddRef() and
* Release() must be used properly to avoid memory leaks.
*/
PP_VARTYPE_ARRAY_BUFFER = 9,
/**
* This type allows the <code>PP_Var</code> to wrap a <code>PP_Resource
* </code>. This can be useful for sending or receiving some types of
* <code>PP_Resource</code> using <code>PPB_Messaging</code> or
* <code>PPP_Messaging</code>.
*
* These objects are reference counted, so AddRef() and Release() must be used
* properly to avoid memory leaks. Under normal circumstances, the
* <code>PP_Var</code> will implicitly hold a reference count on the
* <code>PP_Resource</code> on your behalf. For example, if you call
* VarFromResource(), it implicitly calls PPB_Core::AddRefResource() on the
* <code>PP_Resource</code>. Likewise, PPB_Var::Release() on a Resource
* <code>PP_Var</code> will invoke PPB_Core::ReleaseResource() when the Var
* reference count goes to zero.
*/
PP_VARTYPE_RESOURCE = 10
} PP_VarType;
Re: Angular 2 и .Net Core
Здравствуйте, Serginio1, Вы писали:
Скачал по ссылке https://developer.chrome.com/native-client/sdk/download хромовского клиента.
Нашел часто используемую структуру в файле ..\nacl_sdk\pepper_49\include\ppapi\c\ppVar.h
Скачал по ссылке https://developer.chrome.com/native-client/sdk/download хромовского клиента.
Нашел часто используемую структуру в файле ..\nacl_sdk\pepper_49\include\ppapi\c\ppVar.h
* The <code>PP_VarType</code> is an enumeration of the different types that
* can be contained within a <code>PP_Var</code> structure.
*/
typedef enum {
/**
* An undefined value.
*/
PP_VARTYPE_UNDEFINED = 0,
/**
* A NULL value. This is similar to undefined, but JavaScript differentiates
* the two so it is exposed here as well.
*/
PP_VARTYPE_NULL = 1,
/**
* A boolean value, use the <code>as_bool</code> member of the var.
*/
PP_VARTYPE_BOOL = 2,
/**
* A 32-bit integer value. Use the <code>as_int</code> member of the var.
*/
PP_VARTYPE_INT32 = 3,
/**
* A double-precision floating point value. Use the <code>as_double</code>
* member of the var.
*/
PP_VARTYPE_DOUBLE = 4,
/**
* The Var represents a string. The <code>as_id</code> field is used to
* identify the string, which may be created and retrieved from the
* <code>PPB_Var</code> interface. These objects are reference counted, so
* AddRef() and Release() must be used properly to avoid memory leaks.
*/
PP_VARTYPE_STRING = 5,
/**
* Represents a JavaScript object. This vartype is not currently usable
* from modules, although it is used internally for some tasks. These objects
* are reference counted, so AddRef() and Release() must be used properly to
* avoid memory leaks.
*/
PP_VARTYPE_OBJECT = 6,
/**
* Represents an array of Vars. The <code>as_id</code> field is used to
* identify the array, which may be created and manipulated from the
* <code>PPB_VarArray</code> interface. These objects are reference counted,
* so AddRef() and Release() must be used properly to avoid memory leaks.
*/
PP_VARTYPE_ARRAY = 7,
/**
* Represents a mapping from strings to Vars. The <code>as_id</code> field is
* used to identify the dictionary, which may be created and manipulated from
* the <code>PPB_VarDictionary</code> interface. These objects are reference
* counted, so AddRef() and Release() must be used properly to avoid memory
* leaks.
*/
PP_VARTYPE_DICTIONARY = 8,
/**
* ArrayBuffer represents a JavaScript ArrayBuffer. This is the type which
* represents Typed Arrays in JavaScript. Unlike JavaScript 'Array', it is
* only meant to contain basic numeric types, and is always stored
* contiguously. See PPB_VarArrayBuffer_Dev for functions special to
* ArrayBuffer vars. These objects are reference counted, so AddRef() and
* Release() must be used properly to avoid memory leaks.
*/
PP_VARTYPE_ARRAY_BUFFER = 9,
/**
* This type allows the <code>PP_Var</code> to wrap a <code>PP_Resource
* </code>. This can be useful for sending or receiving some types of
* <code>PP_Resource</code> using <code>PPB_Messaging</code> or
* <code>PPP_Messaging</code>.
*
* These objects are reference counted, so AddRef() and Release() must be used
* properly to avoid memory leaks. Under normal circumstances, the
* <code>PP_Var</code> will implicitly hold a reference count on the
* <code>PP_Resource</code> on your behalf. For example, if you call
* VarFromResource(), it implicitly calls PPB_Core::AddRefResource() on the
* <code>PP_Resource</code>. Likewise, PPB_Var::Release() on a Resource
* <code>PP_Var</code> will invoke PPB_Core::ReleaseResource() when the Var
* reference count goes to zero.
*/
PP_VARTYPE_RESOURCE = 10
} PP_VarType;