PageRenderTime 72ms CodeModel.GetById 64ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 1ms

/xbmc/visualizations/Vortex/angelscript/docs/manual/doc_register_type.html

http://github.com/xbmc/xbmc
HTML | 17 lines | 16 code | 0 blank | 1 comment | 0 complexity | 5f367a8cc35768d2be18eaa88643d362 MD5 | raw file
 1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 2<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
 3<title>AngelScript: Registering an object type</title>
 4<link href="tabs.css" rel="stylesheet" type="text/css">
 5<link href="doxygen.css" rel="stylesheet" type="text/css">
 6</head><body>
 7<!-- Generated by Doxygen 1.5.9 -->
 8<div class="contents">
 9<h1><a class="anchor" name="doc_register_type">Registering an object type </a></h1>The are two principal paths to take when registering a new type, either the type is a reference type that is located in dynamic memory, or the type is a value type that is located on the stack. Complex types are usually registered as reference types, while simple types that are meant to be used as primitives are registered as value types. A reference type support object handles (unless restricted by application), but cannot be passed by value to application registered functions, a value type doesn't support handles and can be passed by value to application registered functions.<p>
10<ul>
11<li><a class="el" href="doc_reg_basicref.html">Registering a reference type</a></li><li><a class="el" href="doc_register_val_type.html">Registering a value type</a></li><li><a class="el" href="doc_reg_opbeh.html">Registering operator behaviours</a></li><li><a class="el" href="doc_reg_objmeth.html">Registering object methods</a></li><li><a class="el" href="doc_reg_objprop.html">Registering object properties</a> </li></ul>
12</div>
13<hr size="1"><address style="text-align: right;"><small>Generated on Wed Dec 16 19:34:51 2009 for AngelScript by&nbsp;
14<a href="http://www.doxygen.org/index.html">
15<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
16</body>
17</html>