w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
new

new(addr, types, func = nil) Class Public methods Wraps the C pointer addr as a C struct with the given types. The C function func is called when the instance is garbage collected. See also DL::CPtr.new

size

size(types) Class Public methods Given types, returns the offset for the packed sizes of those types DL::CStructEntity.size([DL::TYPE_DOUBLE, DL::TYPE_INT, DL::TYPE_CHAR, DL::TYPE_VOIDP]) => 24

[]

[](name) Instance Public methods Fetch struct member name

[]=

[]=(name, val) Instance Public methods Set struct member name, to value val

assign_names

assign_names(members) Instance Public methods Set the names of the members in this C struct

set_ctypes

set_ctypes(types) Instance Public methods Given types, calculate the offsets and sizes for the types in the struct.

entity_class

entity_class() Class Public methods accessor to DL::CUnionEntity

malloc

malloc(types, func=nil) Class Public methods Allocates a C union the types provided. The C function func is called when the instance is garbage collected.

size

size(types) Class Public methods Given types, returns the size needed for the union. DL::CUnionEntity.size([DL::TYPE_DOUBLE, DL::TYPE_INT, DL::TYPE_CHAR, DL::TYPE_VOIDP]) => 8

set_ctypes

set_ctypes(types) Instance Public methods Given types, calculate the necessary offset and for each union member

Popular Articles
Fixtures Defining a Fixture Using Fixtures Defining and Using Global Fixtures Organizing Fixture Classes and Data Files Summary Fixtures format Loading fixtur
HTML5 Placeholder jQuery Plugin HTML5 Placeholder is a jQuery plugin that enables HTML5 placeholder behavior for browsers that do not support it. This placeholder plugin works in al
Using combineReducers Using combineReducers Core Concepts The most common state shape for a Redux app is a plain Javascript object containing "slices" of domain-specific d
Imagick::setColorspace (No version information available, might only be in Git) Set colorspace bool Imagick::setColorspac
PyArrayObject Several new types are defined in the C-code. Most of these are accessible from Python, but a few are not exposed due to their limited use. Every new


Page 179 of 11844

|< < Prev 176 177 178 179 180 181 182 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions